Ugh, since you asked about !=, that was the wrong line to quote. :-) On the line above:
The statement x != x is true if x is a NaN.
Ok, so it's an icc bug?
/ Mirar
Previous text:
2003-12-29 14:11: Subject: Re: Merry Christmas == 1!
Ugh, since you asked about !=, that was the wrong line to quote. :-) On the line above:
The statement x != x is true if x is a NaN.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
At least if icc defines __STDC_IEC_559__, which signals that it is in compliance with Annex F of the C99 standard.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-12-29 17:21: Subject: Re: Merry Christmas == 1!
Ok, so it's an icc bug?
/ Mirar
It does:
| #include <math.h> | | #ifdef __STDC_IEC_559__ | #error yes | #else | #error no | #endif
| % icc test.c | test.c(4): catastrophic error: #error directive: yes | #error yes | ^
It doesn't, if math.h isn't included, though.
/ Mirar
Previous text:
2003-12-29 17:34: Subject: Re: Merry Christmas == 1!
At least if icc defines __STDC_IEC_559__, which signals that it is in compliance with Annex F of the C99 standard.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
pike-devel@lists.lysator.liu.se