From owner-svn-src-all@FreeBSD.ORG Sun Jan 9 06:05:02 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 8F96B106566C; Sun, 9 Jan 2011 06:05:02 +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 7B5118FC12; Sun, 9 Jan 2011 06:05:02 +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 p096527Y031374; Sun, 9 Jan 2011 06:05:02 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p09652p0031372; Sun, 9 Jan 2011 06:05:02 GMT (envelope-from das@svn.freebsd.org) Message-Id: <201101090605.p09652p0031372@svn.freebsd.org> From: David Schultz Date: Sun, 9 Jan 2011 06:05:02 +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: r217180 - head/sys/ia64/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:02 -0000 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 */