diff options
Diffstat (limited to 'src/fenv/feholdexcept.c')
-rw-r--r-- | src/fenv/feholdexcept.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c index 51ef526b..71c713d0 100644 --- a/src/fenv/feholdexcept.c +++ b/src/fenv/feholdexcept.c @@ -4,7 +4,9 @@ int feholdexcept(fenv_t *envp) { SIGNAL_SAFE(0); - (void)envp; + ASSERT_NONNULL(envp); + fegetenv(envp); + /* TODO: 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. */ return 0; } |