From: John Love-Jensen <eljay@adobe.com>
To: Trevis Rothwell <tjr@gnu.org>, MSX to GCC <gcc-help@gcc.gnu.org>
Subject: Re: unsigned
Date: Tue, 05 Dec 2006 13:08:00 -0000 [thread overview]
Message-ID: <C19ACB48.1A0AA%eljay@adobe.com> (raw)
In-Reply-To: <4b7c18640612041348q3eab823dr7e50ad300640818@mail.gmail.com>
> What's going on?
Hi Trevis,
2147483648 is too big to fit in a signed int on your machine (32-bit signed
int). So the compiler is treating it as 2147483648U, even though you did
not specify 2147483648U.
Note: 2147483648 is 0x80000000 which is one bigger than the largest 32-bit
signed int. Not just "no room to spare", but one step beyond.
HTH,
--Eljay
next prev parent reply other threads:[~2006-12-05 13:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-04 21:48 unsigned Trevis Rothwell
2006-12-04 22:04 ` unsigned Erik
2006-12-04 22:17 ` unsigned Luke Powell
2006-12-04 22:41 ` unsigned Young, Michael
2006-12-05 13:08 ` John Love-Jensen [this message]
2006-12-05 19:25 unsigned Kaz Kylheku
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C19ACB48.1A0AA%eljay@adobe.com \
--to=eljay@adobe.com \
--cc=gcc-help@gcc.gnu.org \
--cc=tjr@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).