Article View: comp.std.c
Article #1279Re: Questions about NCEG
From: Richard Sargent
Date: Thu, 24 May 1990 14:54
Date: Thu, 24 May 1990 14:54
22 lines
1004 bytes
1004 bytes
> From: tneff@bfmny0.UU.NET (Tom Neff) > Message-ID: <15519@bfmny0.UU.NET> > ... > > People want hex float so they can represent 7/4096, say, without > worrying about flipping a digit and making hash. I don't get it. Why would you code some indecipherable 'magic' fraction rather than just simply declare: float fract = 7.0/4096.0; and let the optimizer/compiler turn that into the correct constant? Maybe Rex J. can tell us why have hex constants for float. Richard Sargent Internet: richard@pantor.UUCP Systems Analyst UUCP: ...!mnetor!becker!pantor!richard
Technical Details
Message-ID:
<73.UUL1.3#5109@pantor.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!hybrid!becker!pantor!richardReferences:
<15519@bfmny0.UU.NET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!hybrid!becker!pantor!richard From: richard@pantor.UUCP (Richard Sargent) Newsgroups: comp.std.c Subject: Re: Questions about NCEG Message-ID: <73.UUL1.3#5109@pantor.UUCP> Date: 24 May 90 14:54:45 GMT References: <15519@bfmny0.UU.NET> Organization: Pansophic Systems Inc, Graphics Product Company Lines: 22