Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E81E511.A4C98D50@phekda.freeserve.co.uk> Date: Wed, 26 Mar 2003 17:36:17 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: strtof()'s NaN and Inf support References: <200303221132 DOT h2MBWDc22095 AT speedy DOT ludd DOT luth DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. It looks good to me, but I have one correction: ams AT ludd DOT luth DOT se wrote: [snip] > Index: djgpp/src/libc/c99/stdlib/strtof.txh > =================================================================== > RCS file: /cvs/djgpp/djgpp/src/libc/c99/stdlib/strtof.txh,v > retrieving revision 1.4 > diff -p -u -r1.4 strtof.txh > --- djgpp/src/libc/c99/stdlib/strtof.txh 29 Jan 2003 12:34:24 -0000 1.4 > +++ djgpp/src/libc/c99/stdlib/strtof.txh 22 Mar 2003 11:13:56 -0000 > @@ -11,7 +11,9 @@ float strtof(const char *s, char **endp) > @subheading Description > > 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 [snip] "case-insensitivly" -> "case-insensitively" ("e" before "ly"). I'll do the reverse conversion for *printf sometime - actually to _doprnt. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]