Of Standards and Inventions: A Cautionary Tale
Chris Torek
chris at mimsy.UUCP
Thu Apr 7 01:52:09 AEST 1988
By the way, I should probably have mentioned that there is
an easy way to fix the `LONG_MIN > 0' without any real changes
to the draft, and that is to use
#define LONG_MIN (-0x7fffffff-1)
rather than
#define LONG_MIN -0x80000000
The example <limits.h> (which also sets minimal maxima) is for a
one's complement machine and does not suffer from this `feature'.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.lang.c
mailing list