Date: Tue, 19 Jan 1999 15:41:25 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Stephen L Moshier cc: Robert Hoehne , djgpp-workers AT delorie DOT com, "K.B. Williams" Subject: Re: Bug when printing long doubles In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Tue, 19 Jan 1999, Stephen L Moshier wrote: > I'm pretty sure the Intel coprocessor manual will say that is an invalid > bit pattern, because the most significant bit of the significand is > not set while the exponent is something other than 0 or 7fff. Right. As far as I could see, such numbers are called ``unnormals''. > Try > adding zero to it, as in the following. The coprocessor should turn > it into a NaN pattern. Are you saying that you think such numbers should print as "NaN"? If so, I'm afraid that would mislead people. For example, passing such numbers to the `is_nan' function will return zero, since they don't have the special bit pattern of a NaN.