Avoiding denormal values in C++
- by Nathan
Hi,
After search a long time for a performance bug, I read abut denormal foating point values.
I have an Intel Core 2 Duo and I am compiling with gcc, using "-O2".
So what do I do? Can I somehow instruct g++ to avoid denormal values?
If not, can I somehow test if a float is denormal?
Thanks!
Nathan