7.6.4.2 The feholdexcept function

Synopsis

1

#include <fenv.h>
int feholdexcept(fenv_t *envp);

Description

2

The feholdexcept function saves the current floating-point environment in the object pointed to by envp, clears the floating-point status flags, and then installs a non-stop (continue on floating-point exceptions) mode, if available, for all floating-point exceptions.[1]

Returns

3

The feholdexcept function returns zero if and only if non-stop floating-point exception handling was successfully installed.

Footnotes