Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 20:17:29 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230228 - head/sys/powerpc/include
Message-ID:  <201201162017.q0GKHTTh050062@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201162017.q0GKHTTh050062>