|
de138ad6
|
2008-03-29T13:50:21
|
|
Document various strtod bugs, with some fixes.
* doc/posix-functions/strtod.texi (strtod): Document bugs with
"-0x", "inf", "nan", and hex constants.
* doc/posix-functions/atof.texi (atof): Likewise.
* modules/stdlib (Makefile.am): Support strtod.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise.
* m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and
detect additional strtod bugs.
* lib/stdlib.in.h (rpl_strtod): Add declarations.
* lib/strtod.c (strtod): Return -0.0 on negative underflow. Use
bool where appropriate. Parse 'inf' and 'nan'.
* tests/test-strtod.c: New file.
* modules/strtod (Depends-on): Add stdbool, stdlib.
(configure.ac): Turn on module indicator.
* modules/strtod-tests: New module.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
81e61b22
|
2007-12-26T16:20:10
|
|
Split setenv module into setenv and unsetenv. Get rid of setenv.h.
|
|
56340215
|
2007-11-02T00:17:19
|
|
Fix documentation about what the 'putenv' module provides.
|
|
2de77d62
|
2007-11-01T13:23:33
|
|
Define the putenv substitute in <stdlib.h> rather than in <config.h>.
|
|
57fdfd3f
|
2007-10-07T19:14:58
|
|
Change copyright notice from GPLv2+ to GPLv3+.
|
|
14689cee
|
2007-10-02T00:31:18
|
|
Rename stdlib_.h to stdlib.in.h.
|