On Fri, Feb 07, 2003 at 09:38:46 +0100, David Olofson wrote:
Yeah - but not as cheap as generating occasional
spikes, a tone or
maybe even white noise, to prevent the generation of denormals in the
first place.
Besides, if you *get* a denormal to kill, it has to come from
somewhere. Catching them this late may not avoid all denormal
processing, unless you do this check after every single FP operation.
You might get away with doing double processing and checking for
float denormals, but I don't think that would be totally safe.
I use that in ineer loops, the denormals are generated by filters.
A tone or noise probably would be faster, yes.
- Steve