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

David Schultz das at FreeBSD.org
Sun Jan 9 06:05:23 UTC 2011


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 */


More information about the svn-src-head mailing list