summaryrefslogtreecommitdiff
path: root/src/fenv/feupdateenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/feupdateenv.c')
-rw-r--r--src/fenv/feupdateenv.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/fenv/feupdateenv.c b/src/fenv/feupdateenv.c
new file mode 100644
index 00000000..b11a20fc
--- /dev/null
+++ b/src/fenv/feupdateenv.c
@@ -0,0 +1,19 @@
+#include <fenv.h>
+
+int feupdateenv(const fenv_t *envp)
+{
+ return 0;
+}
+
+/*d */
+/* The feupdateenv function saves the currently raised floating-point exceptions in its */
+/* automatic storage, installs the floating-point environment represented by the object */
+/* pointed to by envp, and then raises the saved floating-point exceptions. The argument */
+/* envp shall point to an object set by a call to feholdexcept or fegetenv, or equal a */
+/* floating-point environment macro. */
+/* d*/
+
+/*
+STDC(199901)
+LINK(m)
+*/