What breaks? (was Re: 64 bit longs?)

Doug Gwyn gwyn at smoke.brl.mil
Fri Jan 18 10:27:48 AEST 1991


In article <1991Jan15.202123.14223 at gjetor.geac.COM> adeboer at gjetor.geac.COM (Anthony DeBoer) writes:
>It seems to me that there really isn't any _portable_ way to declare a 32-bit
>long, for example.

There is no portable way to declare any integral type constrained to use
precisely 32 bits in its representation.  However, "long" portably declares
one that has AT LEAST 32 bits in its representation (or, you could express
this in terms of the guaranteed range of representable values).  net32_t
is hopeless for the first case and unnecessary for the second.



More information about the Comp.lang.c mailing list