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.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/fenv/feraiseexcept.c b/src/fenv/feraiseexcept.c
new file mode 100644
index 00000000..9f555dde
--- /dev/null
+++ b/src/fenv/feraiseexcept.c
@@ -0,0 +1,19 @@
+#include <fenv.h>
+
+int feraiseexcept(int excepts)
+{
+ return excepts;
+}
+
+/*d
+The feraiseexcept function raises the supported floating-point exceptions
+represented by its argument. 178) The order in which these floating-point exceptions are
+raised is unspecified, except as stated in F.7.6. Whether the feraiseexcept function
+additionally raises the ‘‘inexact’’ floating-point exception whenever it raises the
+‘‘overflow’’ or ‘‘underflow’’ floating-point exception is implementation-defined.
+d*/
+
+/*
+STDC(199901)
+LINK(m)
+*/