Mail Archives: djgpp-workers/1999/01/19/12:28:59
Dear Steve,
On 01-19-99 at 11:32:01 EST you wrote:
>
>
> > Are you saying that you think such numbers should print as "NaN"?
>
> I don't know about "should." I would favor printing the thing in
> hex or binary and let the user figure out what it means.
>
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? When a print loop
inadvertently wades through ASCII or binary data, what's to be done?
In my view, *some* analysis must be done by the person presumably in
charge.
Are there any words in any of the Standards that provide guidance here?
Is this problem limited to poorly-formed long doubles?
K.B. Williams
- Raw text -