Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 06:05:23 +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: r217181 - head/sys/powerpc/include
Message-ID:  <201101090605.p0965NBH031417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: das
Date: Sun Jan  9 06:05:22 2011
New Revision: 217181
URL: http://svn.freebsd.org/changeset/base/217181

Log:
  We don't support any floating point types larger than double on
  powerpc, so DECIMAL_DIG should be 17.

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

Modified: head/sys/powerpc/include/float.h
==============================================================================
--- head/sys/powerpc/include/float.h	Sun Jan  9 06:05:02 2011	(r217180)
+++ head/sys/powerpc/include/float.h	Sun Jan  9 06:05:22 2011	(r217181)
@@ -48,7 +48,7 @@ __END_DECLS
 #define FLT_RADIX	2		/* b */
 #if __ISO_C_VISIBLE >= 1999
 #define	FLT_EVAL_METHOD	1		/* operands promoted to double */
-#define	DECIMAL_DIG	35		/* max precision in decimal digits */
+#define	DECIMAL_DIG	17		/* max precision in decimal digits */
 #endif
 
 #define FLT_MANT_DIG	24		/* p */



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