summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/float.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/float.h b/sys/arch/mips64/include/float.h
index 3e9c05ada9e..ce9198bd9e5 100644
--- a/sys/arch/mips64/include/float.h
+++ b/sys/arch/mips64/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.7 2011/03/23 16:54:36 pirofti Exp $ */
+/* $OpenBSD: float.h,v 1.8 2011/08/29 13:13:21 kettenis Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,9 @@ __END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#if __ISO_C_VISIBLE >= 1999
#define FLT_EVAL_METHOD 0 /* no promotions */
+#endif
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
@@ -74,4 +76,8 @@ __END_DECLS
#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L
#define LDBL_MAX_10_EXP 4932
+#if __ISO_C_VISIBLE >= 1999
+#define DECIMAL_DIG 36
+#endif
+
#endif /* !_MIPS64_FLOAT_H_ */