Path: utzoo!attcan!uunet!mcsun!hp4nl!kunivv1!atcmpe!jc From: jc@atcmp.nl (Jan Christiaan van Winkel) Newsgroups: comp.std.c Subject: Re: all bits zero? Message-ID: <568@atcmpe.atcmp.nl> Date: 22 Mar 90 08:17:52 GMT References: <16237@haddock.ima.isc.com> Organization: AT Computing, Nijmegen, The Netherlands Lines: 11 From article <16237@haddock.ima.isc.com>, by karl@haddock.ima.isc.com (Karl Heuer): > In article <2108@gmdzi.UUCP> wittig@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?