Mail Archives: djgpp-workers/2000/03/20/12:25:18
>
>
> On Mon, 20 Mar 2000, Martin Stromberg wrote:
>
> > So you, Eli, are saying that if we have a NaN we should print "nan"
> > even if the "+" flag is present?
>
> Yes. Is something wrong with that?
No, not if we decide that NaNs do not have a sign. Hence we'll never
print "-nan", only "nan" whatever the bitpattern is if it's a NaN.
> But I don't mind the current compromise, either. Too bad it seems to be
> against the standard. But it seems that, amazingly enough, the standard
> doesn't fit well to what Intel processors do, so perhaps we'd elect to
> deviate from the standard on this one.
Perhaps the n-char-sequence shall be used to show the bitpattern of
the NaN? Then we would see the sign if we knew what bit it is...
Right,
MartinS
- Raw text -