summaryrefslogtreecommitdiff
path: root/src/fenv/feclearexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/feclearexcept.c')
-rw-r--r--src/fenv/feclearexcept.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fenv/feclearexcept.c b/src/fenv/feclearexcept.c
index cf09adcd..4e6e2fc5 100644
--- a/src/fenv/feclearexcept.c
+++ b/src/fenv/feclearexcept.c
@@ -1,12 +1,15 @@
#include <fenv.h>
-#include "_safety.h"
+#include "_fenv.h"
int feclearexcept(int excepts)
{
SIGNAL_SAFE(0);
+ ASSERT_VALID_EXCEPTION_MASK(excepts);
return excepts;
}
+CHECK_1(int, 0, feclearexcept, int)
+
/*
The feclearexcept function clears the supported floating-point exceptions
represented by its argument.