Bruno Haible <br...@clisp.org> wrote: > 2009-01-23 Bruno Haible <br...@clisp.org> > > * lib/c-strtod.h (c_strtod, c_strtold): Add specification.
Hi Bruno, > --- lib/c-strtod.h.orig 2009-01-24 00:08:16.000000000 +0100 > +++ lib/c-strtod.h 2009-01-24 00:07:51.000000000 +0100 ... > + If successful, return the value as a double or 'long double', > respectively, > + and don't modify errno. In case of overflow, return ±HUGE_VAL or > + ±HUGE_VALL, respectively, and set errno to ERANGE. In case of underflow, > + return a value very near to 0 and set errno to ERANGE. If the string > + does not start with the a number at all, return 0 (and recall that if Thanks for writing that. One nit: s/the a/a/