
6 Mar
2006
6 Mar
'06
9:03 a.m.
John Maddock wrote: [...]
I suspect the issue is that numeric_limits<T>::has_infinity is true, so the test attempts to verify that infinities are correctly handled, but in practice infinities trap without the -ieee flag. Is there a macro that tells you when infinities are correctly handled?
-ieee sets the macro _IEEE_FP. Markus