Questions about NCEG

Tim Olson tim at proton.amd.com
Fri Jun 1 02:26:01 AEST 1990


In article <15570 at bfmny0.BFM.COM> tneff at 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 at amd.com)



More information about the Comp.std.c mailing list