X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-strtod.h;h=3d5cb13969eb2421c986d7c0d0752193d263f781;hb=c00787b642cb499896ae03a918f13546d24b6552;hp=4458d676744cde86377bd27a074b15257d3190ef;hpb=151fa2d3905c0d3427303d65d424f7312e95eb30;p=gnulib.git diff --git a/lib/c-strtod.h b/lib/c-strtod.h index 4458d6767..3d5cb1396 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-2011 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);