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/fesetenv.c | |
| parent | b2a8c069960b333c3cded9e0d68d9addee67f6fd (diff) | |
update standard and safety checks
Diffstat (limited to 'src/fenv/fesetenv.c')
| -rw-r--r-- | src/fenv/fesetenv.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/fenv/fesetenv.c b/src/fenv/fesetenv.c index c1b20e3c..2f2d07c6 100644 --- a/src/fenv/fesetenv.c +++ b/src/fenv/fesetenv.c @@ -1,25 +1,22 @@ -#if 0 - #include <fenv.h> +#include "_safety.h" int fesetenv(const fenv_t *envp) { + SIGNAL_SAFE(0); (void)envp; return 0; } -/*d +/* The fesetenv function establishes the floating-point environment represented by the object pointed to by envp. The argument envp shall point to an object set by a call to fegetenv or feholdexcept, or equal a floating-point environment macro. Note that fesetenv merely installs the state of the floating-point status flags represented through its argument, and does not raise these floating-point exceptions. -d*/ +*/ /* STDC(199901) LINK(m) */ - - -#endif |
