]> Savannah Git Hosting - gnulib.git/commit
strtof: Revisit underflow behaviour.
authorBruno Haible <bruno@clisp.org>
Tue, 23 Jul 2024 10:40:33 +0000 (12:40 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jul 2024 10:40:33 +0000 (12:40 +0200)
commitedf38838fe0e409455ad2fe03bedaf06571d95bb
tree2c679b7e27ce1c57e5095cf7218e91bb9e7d4abc
parentcb76ba0b05d382e93957b4724fe0a4c20f583d12
strtof: Revisit underflow behaviour.

* doc/posix-functions/strtof.texi: Mention the macOS bug. Mention the
mingw overflow bug. Mention the underflow bugs on Cygwin 2.9 and mingw.
Mention that gradual underflow does not count as an error on Cygwin 2.9,
mingw, MSVC.
* m4/strtof.m4 (gl_FUNC_STRTOF): Test against the mingw overflow bug.
* tests/test-strtof.h (test_function): Add a gradual underflow test.
Check the sign in case of flush-to-zero underflow.
ChangeLog
doc/posix-functions/strtof.texi
m4/strtof.m4
tests/test-strtof.h