From owner-freebsd-current@FreeBSD.ORG Thu Aug 4 16:57:38 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 0060A16A41F for ; Thu, 4 Aug 2005 16:57:37 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6E0943D45 for ; Thu, 4 Aug 2005 16:57:37 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id j74GvbiD096891; Thu, 4 Aug 2005 09:57:37 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id j74Gvbe0096890; Thu, 4 Aug 2005 09:57:37 -0700 (PDT) (envelope-from sgk) Date: Thu, 4 Aug 2005 09:57:37 -0700 From: Steve Kargl To: Lonnie VanZandt Message-ID: <20050804165737.GB96813@troutmask.apl.washington.edu> References: <20050804162618.GA96657@troutmask.apl.washington.edu> <200508041030.03075.lonnie.vanzandt@ngc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508041030.03075.lonnie.vanzandt@ngc.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org 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: Thu, 04 Aug 2005 16:57:38 -0000 On Thu, Aug 04, 2005 at 10:30:02AM -0600, Lonnie VanZandt wrote: > On Thursday 04 August 2005 10:26 am, Steve Kargl wrote: > > Can someone confirm or refute that the long double type > > has 53 bits in its significand on i386? Which header > > file in /usr/include provides this info? > > Would a reference such as > http://babbage.cs.qc.edu/IEEE-754/IEEE-754references.html help you? > No. I have a copy of IEEE-754, which states All implementations conforming to this standard shall support the single format. Implementations should support the extended format corresponding to the widest basic format supported, and need not support any other extended format. FreeBSD's float type is the single format. FreeBSD's double type is the double format and it also coincides with extended-single format. Note IEEE-754 says "Implementations should support" not "Implementations shall support". -- Steve