From 8b40681e9a591170012b096a11f7580086827590 Mon Sep 17 00:00:00 2001 From: das Date: Mon, 16 Jan 2012 20:17:29 +0000 Subject: 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. --- sys/powerpc/include/float.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/powerpc/include') 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 -- cgit v1.1