Article View: comp.std.misc
Article #115Re: Questions about NCEG
From: Paul Eggert
Date: Wed, 30 May 1990 19:38
Date: Wed, 30 May 1990 19:38
19 lines
1434 bytes
1434 bytes
In response to O'Keefe's assertion that the letter of IEEE 754 requires that decimal-to-binary conversion must always be done at run-time because the rounding mode may be different at run-time than compile-time, Jim Kingdon writes a tricky defense of compile-time conversion, but overlooked a key word in IEEE 754 that permits a much simpler defense: ... the procedures used for binary <-> decimal conversion should give the same results regardless of whether the conversion is performed during language translation ... or during program execution ... (section 5.6 of IEEE 754) The key word is "should". That means it's optional, or as IEEE 754 defines it, strongly recommended as being in keeping with the intent of the standard, although architectural or other constraints beyond the scope of this standard may on occasion render the recommendations impractical. (section 2) Surely this is such an occasion.
Technical Details
Message-ID:
<1990May30.193844.11333@twinsun.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!ucsd!orion.oac.uci.edu!uci-ics!ucla-cs!twinsun!eggertReferences:
<3094@goanna.cs.rmit.oz.au> <1990May29.193451.6533@twinsun.com> <KINGDON.90May30012449@pogo.ai.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!ucsd!orion.oac.uci.edu!uci-ics!ucla-cs!twinsun!eggert From: eggert@twinsun.com (Paul Eggert) Newsgroups: comp.std.misc Subject: Re: Questions about NCEG Message-ID: <1990May30.193844.11333@twinsun.com> Date: 30 May 90 19:38:44 GMT References: <3094@goanna.cs.rmit.oz.au> <1990May29.193451.6533@twinsun.com> <KINGDON.90May30012449@pogo.ai.mit.edu> Sender: usenet@twinsun.com Organization: Twin Sun, Inc Lines: 19