Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: Question on performance



Vincent Lefèvre a écrit:
> ...  It's strange that GCC doesn't replace isnan() by a test x != x

Perhaps because these are NOT equivalent?  They differ for SNaN.

So the interval programmer should indeed use x!=x because, if an
SNaN does sneak into the computation, it should be detected (e.g.
NaI vs Empty).

Michel.
---Sent: 2010-10-15 10:42:35 UTC