aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-04-25 02:36:29 +0000
committerDavid Schultz <das@FreeBSD.org>2004-04-25 02:36:29 +0000
commitbe3930682a6fa118fc919afa6daab79383429e5f (patch)
tree308e2e55aa2f15d001563a139a0f3b3c45777f3e /sys/powerpc/include
parent8f3f7c66d085b95d02f5074af5e030fd145a1166 (diff)
Notes
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/float.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/include/float.h b/sys/powerpc/include/float.h
index 67d725965fc8e..1d683f60bb5dc 100644
--- a/sys/powerpc/include/float.h
+++ b/sys/powerpc/include/float.h
@@ -34,10 +34,14 @@
#ifndef _MACHINE_FLOAT_H_
#define _MACHINE_FLOAT_H_ 1
+#include <sys/cdefs.h>
+
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS 1 /* FP addition rounds to nearest */
+#if __ISO_C_VISIBLE >= 1999
#define FLT_EVAL_METHOD 1 /* operands promoted to double */
#define DECIMAL_DIG 35 /* max precision in decimal digits */
+#endif
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */