From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 30 17:54:14 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 9890116A41F; Fri, 30 Dec 2005 17:54:14 +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 4957643D48; Fri, 30 Dec 2005 17:54:14 +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 jBUHsDrE010736; Fri, 30 Dec 2005 09:54:13 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id jBUHsDNR010735; Fri, 30 Dec 2005 09:54:13 -0800 (PST) (envelope-from sgk) Date: Fri, 30 Dec 2005 09:54:13 -0800 From: Steve Kargl To: John Baldwin Message-ID: <20051230175413.GA10601@troutmask.apl.washington.edu> References: <20051229224626.GA4823@troutmask.apl.washington.edu> <200512300829.46399.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512300829.46399.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Implementations of sqrtl and logl 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, 30 Dec 2005 17:54:14 -0000 On Fri, Dec 30, 2005 at 08:29:45AM -0500, John Baldwin wrote: > On Thursday 29 December 2005 05:46 pm, Steve Kargl wrote: > > I have implementations for sqrtl and logl, which can be added > > to libm. In limited testing on AMD64 , I find > > You probably will want to coordinate with Bruce Evans (bde@) as he has been > doing a lot of work on libm specifically with amd64 recently. > I'm aware of bde's recent work, and he and I have exchanged several emails concerning ccosh(), logl(), and style(9). bde has been concentrating on fixing the float functions, which can be tested for all possible float values. I've taken up the crusade of implementing the missing C99 complex and long double functions. I was hoping to draw other prople into the discussion, and if possible attract others to contribute. There are numerous missing C99 complex and math functions. I also have implementations for acoshl and asinhl, which (statistically) give <1/2 ULP over their ranges with two minor exceptions. acoshl in [1,1.5] and asinhl in [-1,1] degrade to only 58 bits of precision. -- Steve