all bits zero?
Jan Christiaan van Winkel
jc at atcmp.nl
Thu Mar 22 18:17:52 AEST 1990
>From article <16237 at haddock.ima.isc.com>, by karl at haddock.ima.isc.com (Karl Heuer):
> In article <2108 at gmdzi.UUCP> wittig at gmdzi.UUCP (Georg Wittig) writes:
>>Does ANSI C require that in the internal representation of the integer
>>constant ``0'' all bits are zero?
>
> Assuming it's not in a pointer context--in which case it would have been a
> null pointer constant, not an integer constant, despite having the same
> spelling--yes. Non-negative integers, signed or unsigned, whether formed by
And how about floats/double-s? I know the IEEE standard says that an exponent
of all zeroes signifies the number 0.0, but how about other float notations?
More information about the Comp.std.c
mailing list