Re:NaNs Just Don't Get No Respect
by zurn on Saturday August 18, 2012 @08:36AM
(#4400977)
Denormals are part of IEEE fp. If your implementation
is too slow, you can often trade correctness for speed by turning them off in the C/C++ runtimes.
They're also a sign you're skirting on the limits of FP
precision (or worse) so a bit of numerical analysis might still be a good idea...
Re:NaNs Just Don't Get No Respect
by malkia on Saturday August 18, 2012 @11:57AM
(#4401430)
You cannot simply turned them off everywhere. On certain platforms they are produced always, and nothing can be done, but openly deal with them (by expecting them to happen).
They're also a sign you're skirting on the limits of FP precision (or worse) so a bit of numerical analysis might still be a good idea...