RE: Uninitialized Variables
- Posted by Andy Serpa <renegade at earthling.net> Mar 24, 2002
- 458 views
kbochert at ix.netcom.com wrote: > -------Phoenix-Boundary-07081998- > Content-type: text/plain; charset=ISO-8859-1 > Content-transfer-encoding: 8bit > > Hi Andy Serpa, you wrote on 3/23/02 10:13:12 PM: > > >> I tried your code and it failed for me -- the 'y' > >> case came out "non-NaN" > > > > >Boy, what a nightmare. > > > You sure got that right. My method is useless. > Have you noticed that real math (IEEE 754) has > +infinity, -infinity, quiet NaNs, signaling NaNs, > indeterminates, as well as normalized and > denormalized numbers! > Combine that with Eu's 'atoms' which change silently > from integers to doubles. > The best solution may be a DLL that knows how to ask the > floating point processor (nicely) for its secrets. > Been looking for one, but haven't found one that's compiled already. I never get get c source to compile correctly...