The feholdexcept subroutine returns zero if non-stop floating-point exception handling was successfully installed.
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.
Item | Description |
---|---|
envp | Points to the current floating-point environment. |