Mail Archives: djgpp-workers/2003/04/22/14:55:13
According to Eli Zaretskii:
> > From: <ams AT ludd DOT luth DOT se>
> > Date: Sun, 20 Apr 2003 20:04:40 +0200 (CEST)
> Finally, instead of saying
>
> the return value is a NaN with the mantissa bits set to
> @code{@var{hex-number}&0xfffffffffffff}
>
> isn't it better to say
>
> the return value is a NaN with the mantissa bits set to
> the lower 52 bits of @var{hex-number}
Similarly, should "Use at most 8
hexadecimal digits in @var{hex-number} or the internal conversion will
overflow, which results in a mantissa of 0x7fffff. If
@code{@var{hex-number}&0x7fffff} is 0 (which won't work as a
representation of a NaN) @code{NAN} will be returned." be
"Use at most 8
hexadecimal digits in @var{hex-number} or the internal conversion will
overflow, which results in a mantissa of all ones. If the bit pattern
given is 0 (which won't work as a representation of a NaN) @code{NAN}
will be returned."?
(Against this is that some fussiness(sp?) might be inserted. The bits
patterns can't be misunderstood even though they might be hard on
beginners.)
If yes, should, in the previous paragraph, "of all ones" be as is, or
"of all 1s" or "with all bits set"?
Right,
MartinS
- Raw text -