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: bug report: not-a-number not recognized when compiling for x86_64


On Mon, 14 Jan 2013, Mischa Baars wrote:

When running the example attached, you can see the compiler fails to recognize not-a-number's properly.

Bug reports go to bugzilla.


NaN doesn't compare equal to anything. x==x is actually the usual way to test if x is NaN.

--
Marc Glisse


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