Yes. Should NaN!=NaN be true in C99? The fault is when using icc.
/ Mirar
Previous text:
2003-12-24 21:40: Subject: Re: Merry Christmas == 1!
nan gets also returned by things like asin() if you enter an invalied value:
asin(2.0);
(8) Result: nan
here is the interresting part:
asin(2.0)==asin(1.5);
(9) Result: 0
asin(2.0)==asin(2.0);
(10) Result: 0
in mirars example the result was 1.
greetings, martin.
/ Brevbäraren