]> 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>
Mon, 12 Aug 2024 15:32:26 +0000 (17:32 +0200)
commit621237906c937fb85d436569465b50f6cf4e6a88
treea6c82cd0fadb986e3642858ba0effa533ae8a14e
parent05399873d9bea264c8b55e5ea62489ca7906a368
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