summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2012-01-16 20:17:29 +0000
committerdas <das@FreeBSD.org>2012-01-16 20:17:29 +0000
commit8b40681e9a591170012b096a11f7580086827590 (patch)
treef29ea2e29161b535b2a7d8d6b3e52b4236d26035 /sys/powerpc/include
parentae73284c1a1116d89c84235929df10421a348b30 (diff)
downloadFreeBSD-src-8b40681e9a591170012b096a11f7580086827590.zip
FreeBSD-src-8b40681e9a591170012b096a11f7580086827590.tar.gz
Change the definition of FLT_EVAL_METHOD from 1 to 0. A value of 1 implies
that the compiler promotes floats to double precision in computations, but inspection of the output of a cross-compiler indicates that this isn't the case on powerpc.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/float.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/float.h b/sys/powerpc/include/float.h
index ca6568f..d6a1364 100644
--- a/sys/powerpc/include/float.h
+++ b/sys/powerpc/include/float.h
@@ -47,7 +47,7 @@ __END_DECLS
#define FLT_RADIX 2 /* b */
#if __ISO_C_VISIBLE >= 1999
-#define FLT_EVAL_METHOD 1 /* operands promoted to double */
+#define FLT_EVAL_METHOD 0
#define DECIMAL_DIG 17 /* max precision in decimal digits */
#endif
OpenPOWER on IntegriCloud