Article View: comp.std.c
Article #1344Re: Questions about NCEG
From: Tim Olson
Date: Thu, 31 May 1990 16:26
Date: Thu, 31 May 1990 16:26
15 lines
1241 bytes
1241 bytes
In article <15570@bfmny0.BFM.COM> tneff@bfmny0.BFM.COM (Tom Neff) writes: | ANSI C does require that the strings "-0.0" and "0.0" parse to the same | internal representation number (right Doug?). Not that I can see. Neither the Floating Constants section in LEXICAL ELEMENTS nor the runtime specification of library routines like fscanf say anything about internal representations. The MetaWare compiler we use generates IEEE +0.0 (0x00000000) for the string "0.0" and IEEE -0.0 (0x80000000) for the string "-0.0". -- Tim Olson Advanced Micro Devices (tim@amd.com)
Technical Details
Message-ID:
<1990May31.162601.2427@mozart.amd.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!amdcad!mozart.amd.com!proton!timReferences:
<3094@goanna.cs.rmit.oz.au> <1990May29.193451.6533@twinsun.com> <13016@smoke.BRL.MIL> <1990May30.203146.11442@twinsun.com> <15570@bfmny0.BFM.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!amdcad!mozart.amd.com!proton!tim From: tim@proton.amd.com (Tim Olson) Newsgroups: comp.std.c Subject: Re: Questions about NCEG Message-ID: <1990May31.162601.2427@mozart.amd.com> Date: 31 May 90 16:26:01 GMT References: <3094@goanna.cs.rmit.oz.au> <1990May29.193451.6533@twinsun.com> <13016@smoke.BRL.MIL> <1990May30.203146.11442@twinsun.com> <15570@bfmny0.BFM.COM> Sender: usenet@mozart.amd.com (Usenet News) Reply-To: tim@amd.com (Tim Olson) Organization: Advanced Micro Devices, Inc., Austin, Texas Lines: 15