Date: Sun, 9 Jan 2011 06:05:02 +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: r217180 - head/sys/ia64/include Message-ID: <201101090605.p09652p0031372@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101090605.p09652p0031372>