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