[Bug math/33393] fsqrt() not alter errno

tydeman.fred at gmail dot com sourceware-bugzilla@sourceware.org
Wed Oct 22 01:35:24 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33393

--- Comment #2 from Fred Tydeman <tydeman.fred at gmail dot com> ---
C23 says that setting errno on underflow is implementation defined.  So, where
would I find that implementation documentation?

I prefer that when errors happen, they be required to be notified via both FP
flags and errno (but that is not required here by C23).

Since glibc is not consistent on setting errno on errors, remove MATH_ERRNO
from math_errhandling would be OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list