X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-strtod.h;h=c2adf1e4e5a654c6d95ef58b5065c46ef04ee21c;hb=afc6cbe4fe4892c5ee4166cab87fede6f294a27d;hp=4458d676744cde86377bd27a074b15257d3190ef;hpb=151fa2d3905c0d3427303d65d424f7312e95eb30;p=gnulib.git diff --git a/lib/c-strtod.h b/lib/c-strtod.h index 4458d6767..c2adf1e4e 100644 --- a/lib/c-strtod.h +++ b/lib/c-strtod.h @@ -1,6 +1,6 @@ /* Convert string to double, using the C locale. - Copyright (C) 2003-2004, 2009 Free Software Foundation, Inc. + Copyright (C) 2003-2004, 2009-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,8 +30,8 @@ - In case of underflow, return a value very near to 0 and set errno to ERANGE. - If the string does not start with a number at all, return 0 (and recall - that if ENDPTR != NULL, *ENDPTR is set to NPTR). - - In case of other error, return 0 and set errno, for example to EINVAL - or ENOMEM. */ + that if ENDPTR != NULL, *ENDPTR is set to NPTR), and maybe set errno to + EINVAL. + - In case of other error, return 0 and set errno, for example to ENOMEM. */ extern double c_strtod (char const *nptr, char **endptr); extern long double c_strtold (char const *nptr, char **endptr);