sizeof (integral types)

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Apr 27 15:20:21 AEST 1989


In article <2199 at pur-phy> sho at newton.physics.purdue.edu.UUCP (Sho Kuwamoto) writes:
>why not make INT_MIN -32768?

How would you represent that on a 16-bit one's complement machine?
And no, it is not the place of the C standard to say that one's
complement machines are less desirable than two's complement;
in fact, I'd take issue with such a claim.  One of the nicest
machines I ever programmed was one's complement.

>it seems un c-like to make 0xf000 somehow an illegal value.

But it's not an illegal value.



More information about the Comp.lang.c mailing list