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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to