From owner-svn-src-all@FreeBSD.ORG Sun Jan 9 06:05:48 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72C4C106564A; Sun, 9 Jan 2011 06:05:48 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 62C7B8FC08; Sun, 9 Jan 2011 06:05:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0965mK6031465; Sun, 9 Jan 2011 06:05:48 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0965m5u031462; Sun, 9 Jan 2011 06:05:48 GMT (envelope-from das@svn.freebsd.org) Message-Id: <201101090605.p0965m5u031462@svn.freebsd.org> From: David Schultz Date: Sun, 9 Jan 2011 06:05:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217182 - in head/sys: sparc64/include sun4v/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 06:05:48 -0000 Author: das Date: Sun Jan 9 06:05:48 2011 New Revision: 217182 URL: http://svn.freebsd.org/changeset/base/217182 Log: Fix the value for DECIMAL_DIG on UltraSparcs. The previous value of 35 wasn't quite big enough to ensure correct rounding for very-close- to-halfway cases. Modified: head/sys/sparc64/include/float.h head/sys/sun4v/include/float.h Modified: head/sys/sparc64/include/float.h ============================================================================== --- head/sys/sparc64/include/float.h Sun Jan 9 06:05:22 2011 (r217181) +++ head/sys/sparc64/include/float.h Sun Jan 9 06:05:48 2011 (r217182) @@ -48,7 +48,7 @@ __END_DECLS #define FLT_ROUNDS __flt_rounds() #if __ISO_C_VISIBLE >= 1999 #define FLT_EVAL_METHOD 0 /* no promotion */ -#define DECIMAL_DIG 35 /* max precision in decimal digits */ +#define DECIMAL_DIG 36 /* max precision in decimal digits */ #endif #define FLT_MANT_DIG 24 /* p */ Modified: head/sys/sun4v/include/float.h ============================================================================== --- head/sys/sun4v/include/float.h Sun Jan 9 06:05:22 2011 (r217181) +++ head/sys/sun4v/include/float.h Sun Jan 9 06:05:48 2011 (r217182) @@ -48,7 +48,7 @@ __END_DECLS #define FLT_ROUNDS __flt_rounds() #if __ISO_C_VISIBLE >= 1999 #define FLT_EVAL_METHOD 0 /* no promotion */ -#define DECIMAL_DIG 35 /* max precision in decimal digits */ +#define DECIMAL_DIG 36 /* max precision in decimal digits */ #endif #define FLT_MANT_DIG 24 /* p */