help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with NaN


From: Adam Dershowitz
Subject: Help with NaN
Date: Fri, 12 Jan 2001 13:10:47 -0800 (PST)

I am trying to get some code that I had working on a
Dec to compile 
with
gcc.   The code uses a Not a Number value, which on
the Dec is defined
as DBL_QNAN.
To get it to compile I have a tried a bunch of
different things, but I
keep finding that what I have tried is not defined.
I am including <math.h> and tried each of the
following:
#define DBL_QNAN NAN
#define DBL_QNAN NaN
#define DBL_QNAN FP_NAN

I also tried: #define  __USE_ISOC9X 1
before the above as well.
For some reason I am missing the right file where the
right version of
Not-a-Number is defined.
Any idea what I am doing wrong?

Thanks,

--Adam





__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]