C Programming/fenv.h/Function reference
feclearexcept
editPrototype
editint feclearexcept(int excepts);
Description
editThis function attempts to clear the supported floating-point exceptions represented by excepts. If the argument is zero or if all the specified exceptions were successfully cleared, this function returns zero. Otherwise, it returns a non-zero value.
fegetenv
editPrototype
editint fegetenv(fenv_t *envp);
Description
editThis function attempts to store the current floating-point environment in the object pointed to by envp. If the representation was successfully stored, this function returns zero. Otherwise, it returns a non-zero value.
fesetenv
editPrototype
editint fesetenv(const fenv_t *envp);
Description
editThis function attempts to establish the floating-point environment represented by the object pointed to by envp. The argument envp points to an object set by a call to fegetenv() or feholdexcept(), or equal a floating-point environment macro. This function does not raise floating-point exceptions, but only installs the state of the floating-point status flags represented through its argument.