diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:09:57 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:09:57 -0500 |
commit | 46e4b9b12ec7d170691c2cb05970d6537633fa71 (patch) | |
tree | 8ffccf27d6b67825a0067cc3a3b1aa61d8a310a5 /src/fenv/feholdexcept.c | |
parent | b2a8c069960b333c3cded9e0d68d9addee67f6fd (diff) |
update standard and safety checks
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 |