|
NAMEfegetenv , feholdexcept ,
fesetenv , feupdateenv —
floating-point environment save and restore
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <fenv.h>
int
int
int
int
DESCRIPTIONThe floating-point environment includes exception flags and masks, the current rounding mode, and other architecture-specific settings. However, it does not include the floating-point register file.The The The RETURN VALUESThefegetenv (), feholdexcept (),
fesetenv (), and feupdateenv ()
functions return 0 if they succeed, and non-zero otherwise.
SEE ALSOfeclearexcept(3), fenv(3), feraiseexcept(3), fesetenv(3), fetestexcept(3), fpgetmask(3), fpgetprec(3), fpsetmask(3), fpsetprec(3)STANDARDSThefegetenv (), feholdexcept (),
fesetenv (), and feupdateenv ()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
HISTORYThese routines first appeared in FreeBSD 5.3.
Visit the GSP FreeBSD Man Page Interface. |