Branch
Hash :
2d08d875
Author :
Date :
2024-11-17T13:05:55
doc: Prefer https urls where possible. * doc/gnulib.texi (POSIXURL): Use https url. * doc/multithread.texi: Use https instead of http where possible. * doc/glibc-functions/*.texi: Likewise. * doc/posix-functions/*.texi: Likewise. * lib/glthread/lock.c: Likewise. * lib/hamt.h: Likewise. * lib/localcharset.c: Likewise. * lib/pipe2.c: Likewise. * lib/pipe.c: Likewise. * lib/sigsegv.c: Likewise. * lib/sigsegv.in.h: Likewise. * lib/sm3.c: Likewise. * lib/sm3.h: Likewise. * lib/sm3-stream.c: Likewise. * lib/stackvma.c: Likewise. * lib/stdio-impl.h: Likewise. * lib/stdnoreturn.in.h: Likewise. * m4/getopt.m4: Likewise. * m4/largefile.m4: Likewise. * m4/stdalign.m4: Likewise. * STATUS-libposix: Likewise. * tests/test-float.c: Likewise. * tests/test-getopt.h: Likewise. * tests/test-setenv.c: Likewise. * tests/test-spawn-pipe-child.c: Likewise. * tests/test-strerror.c: Likewise. * tests/test-strerror_r.c: Likewise. * tests/test-unsetenv.c: Likewise. * users.txt: Likewise.
@node math_errhandling
@subsection @code{math_errhandling}
@findex math_errhandling
ISO C23 specification:@* @url{https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf} section 7.12.1
Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man7/math_error.7.html,,man math_error}
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This macro is missing on some platforms:
NetBSD 10.0, mingw.
@item
This macro does not describe the error behaviour
of elementary arithmetic operations (+, -, *, /)
and of mathematical operations for which the compiler emits inline code
(such as @code{sqrt} on some CPUs).
@item
This macro does not describe the error behaviour of functions
such as @code{strtod}.
@item
For mathematical operations in general, it is a safer bet to look
at the exceptions set in the floating-point environment
(by calling @code{feclearexcept (FE_ALL_EXCEPT)} before the operation
and @code{fetestexcept} after the operation),
regardless of @code{math_errhandling}.
@end itemize