🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1337

Re: Questions about NCEG

#1337
From: Paul Eggert
Date: Wed, 30 May 1990 20:31
14 lines
1302 bytes
Doug Gwyn writes:

	The C standard supports use of IEEE floating-point.  However, it
	doesn't require that access be granted to all features of it, just the
	consistent subset chosen for the C implementation.

The question is whether an implementation can conform to both ANSI C and IEEE
754.  For example, IEEE 754 requires that -0.0 and 0.0 be distinguishable.
Suppose ANSI C somehow required that -0.0 and 0.0 be identical: then, because
the standards would be inconsistent, an implementation couldn't conform to both
standards.  O'Keefe's contention that IEEE 754 requires run-time
decimal<->binary conversion made me worry about this issue, because it would
make implementations impractical, but more careful reading of IEEE 754 seems to
have found a loophole in O'Keefe's argument.
Technical Details
Message-ID: <1990May30.203146.11442@twinsun.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!orion.oac.uci.edu!uci-ics!ucla-cs!twinsun!eggert
References: <3094@goanna.cs.rmit.oz.au> <1990May29.193451.6533@twinsun.com> <13016@smoke.BRL.MIL>

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!orion.oac.uci.edu!uci-ics!ucla-cs!twinsun!eggert
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: comp.std.c
Subject: Re: Questions about NCEG
Message-ID: <1990May30.203146.11442@twinsun.com>
Date: 30 May 90 20:31:46 GMT
References: <3094@goanna.cs.rmit.oz.au> <1990May29.193451.6533@twinsun.com> <13016@smoke.BRL.MIL>
Sender: usenet@twinsun.com
Organization: Twin Sun, Inc
Lines: 14