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: Q: (d = NAN) != NAN?


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.


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