]> 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>
Mon, 12 Aug 2024 15:33:01 +0000 (17:33 +0200)
commit7cc79dd2fab2dd8a4f65aa5f418f0040057a6643
treecb9bbca7a5a35ad0f169b379d4d6615f0cc60c45
parent621237906c937fb85d436569465b50f6cf4e6a88
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