summaryrefslogtreecommitdiff
path: root/src/fenv/fetestexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/fetestexcept.c')
-rw-r--r--src/fenv/fetestexcept.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fenv/fetestexcept.c b/src/fenv/fetestexcept.c
index 8c4b4bde..371478aa 100644
--- a/src/fenv/fetestexcept.c
+++ b/src/fenv/fetestexcept.c
@@ -1,12 +1,15 @@
#include <fenv.h>
-#include "_safety.h"
+#include "_fenv.h"
int fetestexcept(int excepts)
{
SIGNAL_SAFE(0);
+ ASSERT_VALID_EXCEPTION_MASK(excepts);
return excepts;
}
+CHECK_1(int, 0, fetestexcept, int)
+
/*
The fetestexcept function determines which of a specified subset of the floating-
point exception flags are currently set. The excepts argument specifies the floating-