Mail Archives: djgpp-workers/1999/01/20/02:04:55
On Tue, 19 Jan 1999 Kbwms AT aol DOT com wrote:
> I see nothing wrong with printing an item of poorly formed bits as NaN.
> In the final analysis, that's what it is, isn't it?
No, they aren't, at least not as far as the x87 processor is concerned.
NaNs have sevral well-defined bit patterns, which this example doesn't
fit. When the x87 FPU meets a number such as the one in Robert's
example, the bits in the x87 status and tag words are NOT set as they are
when it sees a NaN.
- Raw text -