Re: [OT] calling isnan
Re: [OT] calling isnan
- Subject: Re: [OT] calling isnan
- From: Jerry <email@hidden>
- Date: Sat, 19 Feb 2005 15:13:22 +0000
On 19 Feb 2005, at 01:27, Bill Northcott 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?
Jerry
_______________________________________________
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