1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00
Files
gnulib/modules/fenv-exceptions-tracking-c23
T
Bruno Haible b21a4c46d0 fenv-exceptions-tracking-c23: New module.
* lib/fenv.in.h (fesetexcept): New declaration.
* lib/fenv-except-tracking-set.c: New file, based on glibc.
* lib/fenv-private.h (_GETMSR, _SETMSR, MSR_FP_EXC_MASK, PR_SET_FPEXC,
PR_FP_EXC_DISABLED, PR_FP_EXC_NONRECOV, PR_FP_EXC_ASYNC,
PR_FP_EXC_PRECISE, prctl) [NetBSD/powerpc]: New macros.
* m4/fenv-exceptions-tracking-c23.m4: New file.
* modules/fenv-exceptions-tracking-c23: New file.
* doc/posix-functions/fesetexcept.texi: Mention the new module and the
glibc bugs.
2023-10-29 22:27:16 +01:00

37 lines
728 B
Plaintext

Description:
Functions for tracking which floating-point exceptions have occurred:
feclearexcept, fesetexcept, feraiseexcept, fetestexcept.
Files:
lib/fenv-except-tracking-set.c
lib/fenv-private.h
m4/fenv-exceptions-tracking-c23.m4
m4/mathfunc.m4
Depends-on:
fenv
fenv-exceptions-tracking-c99
configure.ac:
gl_FENV_EXCEPTIONS_TRACKING_C23
gl_CONDITIONAL([GL_COND_OBJ_FENV_EXCEPTIONS_TRACKING_C23],
[test $HAVE_FESETEXCEPT = 0 || test $REPLACE_FESETEXCEPT = 1])
gl_FENV_MODULE_INDICATOR([fesetexcept])
Makefile.am:
if GL_COND_OBJ_FENV_EXCEPTIONS_TRACKING_C23
lib_SOURCES += fenv-except-tracking-set.c
endif
Include:
#include <fenv.h>
Link:
$(FENV_EXCEPTIONS_TRACKING_LIBM)
License:
LGPLv2+
Maintainer:
all