Jim Jagielski <[EMAIL PROTECTED]> writes:

> A machine can be ANSI compliant and have INT_MAX == 32767 and
> have as many bits as it wants. All ANSI does is set a lower
> limit to INT_MAX. ANSI doesn't define the number of bits per any
> type, except setting that char must be at least 8 bits. At that
> point, ANSI does not bring "number of bits" into any discussions
> at all (IIRC).

INT_MAX must be the maximum value for type int.  You can't have
INT_MAX be 32767 if the values for int range from -2billion to
+2billion.

An int must be at least a 16-bit integer.  That is why INT_MAX must be
at least 32767.

(I'll stop now... this is way past silly.  I'm sorry for wasting your
time.)
-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to