From owner-freebsd-current@FreeBSD.ORG Fri Aug 5 17:28:16 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33A8D16A41F for ; Fri, 5 Aug 2005 17:28:16 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2FB843D55 for ; Fri, 5 Aug 2005 17:28:13 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j75HPLMP094301; Fri, 5 Aug 2005 11:25:21 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 05 Aug 2005 11:26:20 -0600 (MDT) Message-Id: <20050805.112620.11658206.imp@bsdimp.com> To: PeterJeremy@optushome.com.au From: "M. Warner Losh" In-Reply-To: <20050805074916.GD2104@cirb503493.alcatel.com.au> References: <20050804191547.GB2104@cirb503493.alcatel.com.au> <20050804193030.GA97987@troutmask.apl.washington.edu> <20050805074916.GD2104@cirb503493.alcatel.com.au> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 05 Aug 2005 11:25:23 -0600 (MDT) Cc: freebsd-current@freebsd.org, sgk@troutmask.apl.washington.edu Subject: Re: Number of significand bits in long double? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2005 17:28:16 -0000 In message: <20050805074916.GD2104@cirb503493.alcatel.com.au> Peter Jeremy writes: : >> See the LDBL_* macros in for native precision. : > : >That's the problem. The LDBL* macros misrepresent the : >actual precision used. : : I had a closer look. In 4.x, LDBL_* just points to DBL_*. imp@ : changed it to reflect the native hardware precision in v1.9. : : IMHO, it would be nice to run the i386 in native precision but that : opens up a can of worms (since expressions will wind up being : evaluated in different precisions depending on whether the compiler : needs to spill registers onto the stack and whether temporary : variables are registers or stack). Yes. I tried to change the default mask to to do the right thing, but bde and you (I think) convinced me to not commit that change. Warner