svn commit: r230228 - head/sys/powerpc/include

David Schultz das at FreeBSD.org
Mon Jan 16 20:17:30 UTC 2012


Author: das
Date: Mon Jan 16 20:17:29 2012
New Revision: 230228
URL: http://svn.freebsd.org/changeset/base/230228

Log:
  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.

Modified:
  head/sys/powerpc/include/float.h

Modified: head/sys/powerpc/include/float.h
==============================================================================
--- head/sys/powerpc/include/float.h	Mon Jan 16 19:41:24 2012	(r230227)
+++ head/sys/powerpc/include/float.h	Mon Jan 16 20:17:29 2012	(r230228)
@@ -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
 


More information about the svn-src-head mailing list