summaryrefslogtreecommitdiff
path: root/src/fenv/feholdexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/feholdexcept.c')
-rw-r--r--src/fenv/feholdexcept.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c
new file mode 100644
index 00000000..11b46ede
--- /dev/null
+++ b/src/fenv/feholdexcept.c
@@ -0,0 +1,23 @@
+#include <fenv.h>
+
+int feholdexcept(fenv_t *envp)
+{
+ return 0;
+}
+
+/*d
+The feholdexcept function saves the current floating-point environment in the object
+pointed to by envp, clears the floating-point status flags, and then installs a non-stop
+(continue on floating-point exceptions) mode, if available, for all floating-point
+exceptions. 180)
+d*/
+
+/*r
+The feholdexcept function returns zero if and only if non-stop floating-point
+exception handling was successfully installed.
+r*/
+
+/*
+STDC(199901)
+LINK(m)
+*/