This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bug report: not-a-number not recognized when compiling for x86_64
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Mischa Baars <mjbaars1977 at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 14 Jan 2013 15:50:55 +0100 (CET)
- Subject: Re: bug report: not-a-number not recognized when compiling for x86_64
- References: <50F3C2FE.5010003@cyberfiber.org>
- Reply-to: gcc at gcc dot gnu dot org
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