This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::isfinite broken?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]