aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/tile/bits/fenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/tile/bits/fenv.h')
-rw-r--r--sysdeps/tile/bits/fenv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/tile/bits/fenv.h b/sysdeps/tile/bits/fenv.h
index a87a39fc28..eee9e011cc 100644
--- a/sysdeps/tile/bits/fenv.h
+++ b/sysdeps/tile/bits/fenv.h
@@ -43,3 +43,11 @@ typedef unsigned int fenv_t;
/* If the default argument is used we use this value. */
#define FE_DFL_ENV ((const fenv_t *) -1l)
+
+#if __GLIBC_USE (IEC_60559_BFP_EXT)
+/* Type representing floating-point control modes. */
+typedef unsigned int femode_t;
+
+/* Default floating-point control modes. */
+# define FE_DFL_MODE ((const femode_t *) -1L)
+#endif