[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Sun Jun 15 20:25:35 CEST 2003


On Sunday 15 June 2003 14:17, C. Barth Netterfield wrote:
> How portable is 0.0/0.0 in 2003?
>
> Under gcc3.2,
>  -math.h -> bits/nan.h defines NAN.
>
>  -There is also the C99 function nan(), which returns NaN if quiet NaNs are
> supported.  Are quiet NaN's supported on all KDE supported platforms?

   I tried that, but it didn't seem to work on gcc 2.95.x.  I'll look into it 
a bit more.

   0.0/0.0 is nan by definition so I think it should be ok.  IBM's compiler 
documentation actually explicitly says to do it like that too.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list