Q: (d = NAN) != NAN?

Jonathan Wakely jwakely.gcc@gmail.com
Fri Apr 8 12:16:00 GMT 2016


On 8 April 2016 at 11:09, Ulrich Windl wrote:
> Hello!
>
> Probably I'm doing something wrong, but I have some problems comparing a double with NAN: The value is NAN, but the test fails. Probably I should use isnana().

This mailing list is for discussing development of GCC, not help using
GCC, or help understanding how C works. Please use the gcc-help
mailing list for support, or a more appropriate forum for general C
programming questions, thanks.



More information about the Gcc mailing list