svn commit: r217180 - head/sys/ia64/include
David Schultz
das at FreeBSD.org
Sun Jan 9 06:05:02 UTC 2011
Author: das
Date: Sun Jan 9 06:05:02 2011
New Revision: 217180
URL: http://svn.freebsd.org/changeset/base/217180
Log:
The highest-precision floating point type on ia64 has 64 bits of
precision, so DECIMAL_DIG should be 21, as on i386/amd64.
Modified:
head/sys/ia64/include/float.h
Modified: head/sys/ia64/include/float.h
==============================================================================
--- head/sys/ia64/include/float.h Sun Jan 9 04:48:50 2011 (r217179)
+++ head/sys/ia64/include/float.h Sun Jan 9 06:05:02 2011 (r217180)
@@ -43,7 +43,7 @@ __END_DECLS
#define FLT_ROUNDS __flt_rounds()
#if __ISO_C_VISIBLE >= 1999
#define FLT_EVAL_METHOD 0 /* no promotions */
-#define DECIMAL_DIG 35 /* max precision in decimal digits */
+#define DECIMAL_DIG 21 /* max precision in decimal digits */
#endif
#define FLT_MANT_DIG 24 /* p */
More information about the svn-src-all
mailing list