Saves current floating-point environment.
#include <fenv.h> int feholdexcept (envp) fenv_t *envp;
The feholdexcept subroutine saves the current floating-point environment in the object pointed to by envp, clears the floating-point status flags, and installs a non-stop (continue on floating-point exceptions) mode for all floating-point exceptions.
envp | Points to the current floating-point environment. |
The feholdexcept subroutine returns zero if non-stop floating-point exception handling was successfully installed.