Date: Tue, 18 Mar 2003 23:15:44 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: ams AT ludd DOT luth DOT se Message-Id: <3791-Tue18Mar2003231543+0200-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: <200303182003.h2IK3aw16734@speedy.ludd.luth.se> (ams AT ludd DOT luth DOT se) Subject: Re: strto{d,f,ld}, inf and nan patch References: <200303182003 DOT h2IK3aw16734 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 Precedence: bulk > From: > Date: Tue, 18 Mar 2003 21:03:36 +0100 (CET) > > This function converts as many characters of @var{s} as look like a > -floating point number into that number. If @var{endp} is not a null > +floating point number into that number. It also recognises > +(case-insensitivly) @code{Inf}, @code{Infinity}, @code{NaN} and > +@code{NaN()}. If @var{endp} is not a null The "" part should be "@var{optional integer}", since it stands for something else, i.e. it's a meta-syntactic variable. > +If @var{s} is @code{Inf} or @code{Infinity}, with any variations of I think that it's better to use ``Inf'', ``Infinity'', ``NaN'', etc. when you mean literal strings, since they are not symbols in this context. @code{Inf} is for when you talk about an infinite value. > +If @var{s} is @code{NaN()}, with any variations of "" should be "@var{integer}". Btw, do we really intend to support non-hex values here? > +@code{&0xfffffffffffff} is 0 (which is won't work as a There's a typo here: "is won't work".