summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fenv/feholdexcept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c
index 4c6da239..73ff1fad 100644
--- a/src/fenv/feholdexcept.c
+++ b/src/fenv/feholdexcept.c
@@ -3,5 +3,6 @@
int feholdexcept(fenv_t *envp)
{
fegetenv(envp);
+ feclearexcept(FE_ALL_EXCEPT);
return 0;
}