]> Savannah Git Hosting - gnulib.git/commit
strtod: Revisit underflow behaviour.
authorBruno Haible <bruno@clisp.org>
Tue, 23 Jul 2024 10:40:37 +0000 (12:40 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jul 2024 10:40:49 +0000 (12:40 +0200)
commitbd61e8c8ca7a41ce6e265c2cd8d9de5f4c3c4bd5
treefc02bb8814372129a577960a9d7ad2d9054cd80e
parentedf38838fe0e409455ad2fe03bedaf06571d95bb
strtod: Revisit underflow behaviour.

* doc/posix-functions/strtod.texi: Mention the macOS bug. Mention that
gradual underflow does not count as an error on Cygwin 2.9 and MSVC.
* m4/strtod.m4 (gl_FUNC_STRTOD): Update comment.
* tests/test-strtod.h (test_function): Add a gradual underflow test.
Check the sign in case of flush-to-zero underflow.
ChangeLog
doc/posix-functions/strtod.texi
m4/strtod.m4
tests/test-strtod.h