On Jun 16, 2006, at 5:43 PM, Paulo J. Matos wrote:
I'd like to catch automatically over/underflows on floating point

Wrong list.  You want gcc-help...

Does it mean that if I use this, exceptions are thrown when I have an
over/underflow?

No, it it meant that, the documentation would say that the flag causes exceptions to be thrown. There is no such option. You can write your own code to throw exceptions, but I think you'd want to study FP on modern processors and just when exactly it is known that something is exceptional. Hint, it happens really late, and you have to add machine instructions to get them to be not deferred, but, if you do that, you throw performance out the window.

You'll have to refer to your OS documentation on just how exactly to do this, it you can at all. man signal is the usual entry into this world.

Reply via email to