Mail Archives: djgpp-workers/2003/04/17/13:06:03
Hello.
I've been hacking on _isnanf(), _isnand() and _isnanld() (to be able
to support the C99 isnan macro).
My readings on the net doesn't show what a long double with it
exponent set to 0x7fff and a _cleared_ most significant bit in the
mantissa is. The most significant bit for a long double is the
integer bit (which isn't present in floats or doubles).
As far as I understand a long double with exponent == 0 and with
the most significant bit in the mantissa cleared is a denormal (which
isn't a NaN but a value close to 0).
But I don't know what to make of it when exponent != 0.
Are they all NaNs? Only the ones with exponent == 0x7fff? Or none of
them?
Any help?
Right,
MartinS
- Raw text -