summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/include/float.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/include/float.h')
-rw-r--r--sys/arch/arm/include/float.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/arm/include/float.h b/sys/arch/arm/include/float.h
index a97befef15e..e3e09fd183f 100644
--- a/sys/arch/arm/include/float.h
+++ b/sys/arch/arm/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: float.h,v 1.5 2011/08/29 13:13:21 kettenis Exp $ */
/* $NetBSD: float.h,v 1.1 2001/01/10 19:02:06 bjh21 Exp $ */
/*
@@ -56,7 +56,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-7F /* b**(1-p) */
@@ -88,4 +90,8 @@ __END_DECLS
#define LDBL_MAX DBL_MAX
#define LDBL_MAX_10_EXP DBL_MAX_10_EXP
+#if __ISO_C_VISIBLE >= 1999
+#define DECIMAL_DIG 17
+#endif
+
#endif /* _ARM_FLOAT_H_ */