Article View: comp.std.c
Article #1113Re: all bits zero?
From: Jan Christiaan van Winkel
Date: Thu, 22 Mar 1990 08:17
Date: Thu, 22 Mar 1990 08:17
11 lines
995 bytes
995 bytes
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?
Technical Details
Message-ID:
<568@atcmpe.atcmp.nl>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!kunivv1!atcmpe!jcReferences:
<16237@haddock.ima.isc.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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