This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]