23 Mar
2007
23 Mar
'07
6:21 p.m.
Sven Panne <sven.panne@aedion.de> wrote:
What's even worse: I've just seen that neither Hugs nor nhc98 implement isNaN, isInfinte, isDenormalized, isNegativeZero and isIEEE. :-( GHC does it via some bit-fiddling in StgPrimFloat.c, but it is unclear to me why the stuff from <math.h> (isnan() etc.) is not simply used instead. Does anybody remember? These macros are C99, I think, but do we really support older C standards?
If I recall correctly, at the time nhc's numeric code was first written in 1994, the C99 standard was not widely available. :-) Regards, Malcolm