This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: stdint.h
- From: Stephen Huw CLARKE <stephen dot clarke at st dot com>
- To: <newlib at sourceware dot org>
- Date: Tue, 20 Sep 2005 17:51:00 +0200
- Subject: RE: stdint.h
Corinna Vinschen wrote:
>
> I'd like to point out that the glibc version of stdint.h also uses
> the (-2147483647 - 1) variation. There must be a good reason, but I
> fail to find a reference right now, which could help to explain this
> to all of us.
-2147483648 is parsed as a negate operator applied to the
large +ve constant 2147483648. That constant is too large to
fit in an INT32.
Steve.