Re: [OT] calling isnan
Re: [OT] calling isnan
- Subject: Re: [OT] calling isnan
- From: Chris Espinosa <email@hidden>
- Date: Fri, 18 Feb 2005 13:22:00 -0800
Apparently <cmath> is
supposed to #undef isnan, according to the C standard. (Why, I'm not sure, but it is.) What it ought to do is to define <T>isnan() in the std:: namespace, but it's apparently not doing so for doubles.
See this: http://gcc.gnu.org/ml/gcc/2005-01/msg00577.html
As a workaround you can use the __isnand(x) underlying function for doubles.
Regards,
Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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