mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-10 04:43:00 +03:00
* lib/fenv.in.h (fegetexceptflag, fesetexceptflag): New declarations. * lib/fenv-except-state-get.c: New file, baed on glibc. * lib/fenv-except-state-set.c: New file, baed on glibc. * m4/mathfunc.m4 (gl_MATHFUNC): Handle also the 'fexcept_t *' type. * m4/fenv-exceptions-state.m4: New file. * modules/fenv-exceptions-state-c99: New file. * doc/posix-functions/fegetexceptflag.texi: Mention the new module. * doc/posix-functions/fesetexceptflag.texi: Mention the new module and the glibc, musl libc, macOS, AIX, mingw bugs.
44 lines
975 B
Plaintext
44 lines
975 B
Plaintext
Description:
|
|
Functions for saving the floating-point exception status flags:
|
|
fegetexceptflag, fesetexceptflag.
|
|
|
|
Files:
|
|
lib/fenv-except-state-get.c
|
|
lib/fenv-except-state-set.c
|
|
lib/fenv-private.h
|
|
m4/fenv-exceptions-state.m4
|
|
m4/fenv-exceptions.m4
|
|
m4/mathfunc.m4
|
|
|
|
Depends-on:
|
|
fenv
|
|
|
|
configure.ac:
|
|
gl_FENV_EXCEPTIONS_STATE
|
|
gl_CONDITIONAL([GL_COND_OBJ_FENV_EXCEPTIONS_STATE_GET],
|
|
[test $HAVE_FEGETEXCEPTFLAG = 0 || test $REPLACE_FEGETEXCEPTFLAG = 1])
|
|
gl_CONDITIONAL([GL_COND_OBJ_FENV_EXCEPTIONS_STATE_SET],
|
|
[test $HAVE_FESETEXCEPTFLAG = 0 || test $REPLACE_FESETEXCEPTFLAG = 1])
|
|
gl_FENV_MODULE_INDICATOR([fegetexceptflag])
|
|
gl_FENV_MODULE_INDICATOR([fesetexceptflag])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_FENV_EXCEPTIONS_STATE_GET
|
|
lib_SOURCES += fenv-except-state-get.c
|
|
endif
|
|
if GL_COND_OBJ_FENV_EXCEPTIONS_STATE_SET
|
|
lib_SOURCES += fenv-except-state-set.c
|
|
endif
|
|
|
|
Include:
|
|
#include <fenv.h>
|
|
|
|
Link:
|
|
$(FENV_EXCEPTIONS_STATE_LIBM)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|