🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1365

Re: Questions about NCEG

#1365
From: Tom Neff
Date: Fri, 01 Jun 1990 10:58
15 lines
1309 bytes
>"If the scaled value is in the range of representable values (for its
>type) the result is either the nearest representable value, or the
>larger or smaller representable value immediately adjacent to the
>nearest representable value, chosen in an implementation-defined manner."
 ^^^^^^^^^^^^^^^^^^^^^

Does anyone else think this word choice is strange?  I can understand
dealing with values outside the domain of exactly representable numbers
in this way -- let the compiler round up, down or to nearest as it sees
fit -- but if the target value is exactly representable, surely that
representation's use should be mandatory.

If the committee had a specific counter rationale I'd like to know what
it is.  If this is just imprecise wording, an interpretation might be
in order.
Technical Details
Message-ID: <15576@bfmny0.BFM.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!decwrl!uunet!bfmny0!tneff
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> <1757@tkou02.enet.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!decwrl!uunet!bfmny0!tneff
From: tneff@bfmny0.BFM.COM (Tom Neff)
Newsgroups: comp.std.c
Subject: Re: Questions about NCEG
Message-ID: <15576@bfmny0.BFM.COM>
Date: 1 Jun 90 10:58:47 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> <1757@tkou02.enet.dec.com>
Reply-To: tneff@bfmny0.BFM.COM (Tom Neff)
Lines: 15