RE: Uninitialized Variables
- Posted by kbochert at ix.netcom.com Mar 24, 2002
- 446 views
-------Phoenix-Boundary-07081998- 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. Karl Bochert -------Phoenix-Boundary-07081998---