64 bit ints

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Oct 31 16:32:44 AEST 1988


In article <418 at sdrc.UUCP> scjones at sdrc.UUCP (Larry Jones) writes:
>The draft ANSI standard requires that int
>be the same size as either short or long; it may not be a third,
>distinct, size of integer.

Where do you see that?  Section 3.1.2.5 requires that an int be able to
hold all integers in the range INT_MIN to INT_MAX and that its range
be no less than that of short int and no more than that of long int.
Nowhere do I find a requirement that
sizeof(int)==sizeof(short)||sizeof(int)==sizeof(long).



More information about the Comp.lang.c mailing list