From owner-svn-src-all@FreeBSD.ORG Sun Jan 9 06:05:23 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 43F001065670; Sun, 9 Jan 2011 06:05:23 +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 341A68FC19; Sun, 9 Jan 2011 06:05:23 +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 p0965N22031419; Sun, 9 Jan 2011 06:05:23 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0965NBH031417; Sun, 9 Jan 2011 06:05:23 GMT (envelope-from das@svn.freebsd.org) Message-Id: <201101090605.p0965NBH031417@svn.freebsd.org> From: David Schultz Date: Sun, 9 Jan 2011 06:05:23 +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: r217181 - head/sys/powerpc/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:23 -0000 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 */