isnan
isnan
- Subject: isnan
- From: Wesley Smith <email@hidden>
- Date: Sun, 22 May 2005 10:38:00 -0500
Hi,
Ok,
So the following works:
in a file called main.cpp
using namespace std;
#include <math.h>
int main()
{
float x=sqrt(-1);
return isnan(x);
}
but when I include cmath, it doesn't. It seems that cmath is
overidding the math.h isnan macro and not redifining it. Has anyone
else had this problem? Is there a way to fix this? This is with gcc
3.3.
thanks,
wes
_______________________________________________
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