From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 5 17:34:07 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B832116A41F for ; Fri, 5 Aug 2005 17:34:07 +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 4EE2343D4C for ; Fri, 5 Aug 2005 17:34:07 +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 j75HWXiO044921; Fri, 5 Aug 2005 11:32:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 05 Aug 2005 11:33:35 -0600 (MDT) Message-Id: <20050805.113335.27815012.imp@bsdimp.com> To: sgk@troutmask.apl.washington.edu From: "M. Warner Losh" In-Reply-To: <20050804150405.GA95916@troutmask.apl.washington.edu> References: <20050804150405.GA95916@troutmask.apl.washington.edu> 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:32:34 -0600 (MDT) Cc: freebsd-hackers@freebsd.org Subject: Re: Number of significand bits in long double? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2005 17:34:07 -0000 In message: <20050804150405.GA95916@troutmask.apl.washington.edu> Steve Kargl writes: : Can someone confirm or refute that the working number : of bits in the significand of long double type is 53 : on i386? The number of bits is 53. However, you can get more bits by adding a fpsetprec(FP_PE) at the start of the programs. Otherwise, you get FP_PD by default. Once you do that, things seem to basically work, but I've not run paranoia.c to make sure. Warner