Re: calling isnan
Re: calling isnan
- Subject: Re: calling isnan
- From: Bill Northcott <email@hidden>
- Date: Sun, 20 Feb 2005 09:57:18 +1100
On 20/02/2005, at 7:09 AM, Jerry <email@hidden> wrote:
The solution for any math library for C++ (such as libRmath) is to
program your own isnan() like function that access the underlying
system functions.
At the risk of moving off-topic: I've seen people checking for NaN by
doing
if (!(x == x))
.....
It sounds plausible, but is it always valid?
AFAIK that is undocumented and therefore should not be used.
Bill Northcott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden