delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/04/23/05:31:42

Date: Wed, 23 Apr 2003 12:28:27 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: ams AT ludd DOT luth DOT se
Message-Id: <9464-Wed23Apr2003122827+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200304221855.h3MIt5Uq000907@speedy.ludd.luth.se>
(ams AT ludd DOT luth DOT se)
Subject: Re: Yet another try on nan in strto{f,d,ld}
References: <200304221855 DOT h3MIt5Uq000907 AT speedy DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: <ams AT ludd DOT luth DOT se>
> Date: Tue, 22 Apr 2003 20:55:05 +0200 (CEST)
> 
> 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."?

Yes.

> If yes, should, in the previous paragraph, "of all ones" be as is, or 
> "of all 1s" or "with all bits set"?

"with all bits set" is much better, IMHO.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019