bug report: not-a-number not recognized when compiling for x86_64

Richard Biener richard.guenther@gmail.com
Mon Jan 14 14:50:00 GMT 2013


On Mon, Jan 14, 2013 at 9:34 AM, Mischa Baars <mjbaars1977@gmail.com> wrote:
> Hi,
>
> When running the example attached, you can see the compiler fails to
> recognize not-a-number's properly.
>
> Anyone who would like to have a look?

THat's how FP works.  Use isnan().

Richard.

> Regards,
> Mischa.



More information about the Gcc mailing list