diff options
Diffstat (limited to 'src/fenv/feholdexcept.c')
| -rw-r--r-- | src/fenv/feholdexcept.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c index b7f6d22c..7740ee58 100644 --- a/src/fenv/feholdexcept.c +++ b/src/fenv/feholdexcept.c @@ -1,29 +1,26 @@ -#if 0 - #include <fenv.h> +#include "_safety.h" int feholdexcept(fenv_t *envp) { + SIGNAL_SAFE(0); (void)envp; return 0; } -/*d +/* 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. 180) -d*/ +*/ -/*r +/* The feholdexcept function returns zero if and only if non-stop floating-point exception handling was successfully installed. -r*/ +*/ /* STDC(199901) LINK(m) */ - - -#endif |
