Commit edf38838fe0e409455ad2fe03bedaf06571d95bb

Bruno Haible 2024-07-23T12:40:33

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.