std::isfinite broken?

Neal Becker ndbecker2@gmail.com
Thu Jul 31 11:56:00 GMT 2008


Paolo Carlini wrote:

> Hi ho, ho!! ;)
>> It worked with me.
>>   
> Try a recent gcc (eg, 4.3.x) and you will get the same, actually
> expected, result of the original poster.
> 
> Paolo.

I believe this is a bug.  I agree that -ffast-math will not always comply 100% with IEEE, as advertised.  But, if I explicity ask isfinite(), I expect it to work.  If it is really intended not to work, then at least documentation should state that.



More information about the Gcc mailing list