From owner-freebsd-numerics@FreeBSD.ORG Mon Jun 17 23:47:26 2013 Return-Path: Delivered-To: freebsd-numerics@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 65F61C5B; Mon, 17 Jun 2013 23:47:26 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3A41845; Mon, 17 Jun 2013 23:47:26 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.6/8.14.6) with ESMTP id r5HNlJeL039221; Mon, 17 Jun 2013 16:47:19 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.6/8.14.6/Submit) id r5HNlJEf039220; Mon, 17 Jun 2013 16:47:19 -0700 (PDT) (envelope-from sgk) Date: Mon, 17 Jun 2013 16:47:19 -0700 From: Steve Kargl To: Bruce Evans Subject: Re: Implementation for coshl. Message-ID: <20130617234719.GA11552@troutmask.apl.washington.edu> References: <20130610003645.GA16444@troutmask.apl.washington.edu> <20130610110740.V24058@besplex.bde.org> <20130610055834.GA68643@zim.MIT.EDU> <20130618091306.A787@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130618091306.A787@besplex.bde.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: David Schultz , freebsd-numerics@FreeBSD.org X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 23:47:26 -0000 On Tue, Jun 18, 2013 at 09:29:41AM +1000, Bruce Evans wrote: > [Reply to my latest saved mail in this thread. Mostly not in response to it.] > > On Sun, 9 Jun 2013, David Schultz wrote: > > > On Mon, Jun 10, 2013, Bruce Evans wrote: > >> On Sun, 9 Jun 2013, Steve Kargl wrote: > > >>> The former would require a refactoring of > >>> s_expl.c into a kernel __kernel_expl(x, hi, lo). I have no plans on > >>> pursuing this at the this time. > >> > >> But you need this soon for __ldexp_exp() and __ldexp_cexp(), which are > >> needed for hyperbolic functions (the large args already fixed for float > >> and double precision) and for cexp() and trig and hyperbolic complex > >> functions. It is much easier to implement these using a kernel. I do > >> this only for float precision. > > > > That's fine for now. We need a better k_exp, too. I believe > > Bruce was working on one. > > The wrappers turned out to be fairly easy. Especially __ldexp_exp*(() > and __ldexp_cexp*(), given the main wrapper. > > Are you going to finish coshl() and sinhl()? I'm getting closer to > hacking on them. I'm now in the middle of doing this for cosh(): I won't have time until mid-July to work on coshl, sinhl, and tanhl. I leave for an underwater acoustic conference in Greece on Friday, and do not return until the 1st week of July. > > diff -u2 e_cosh.c~ e_cosh.c > % --- e_cosh.c~ Thu May 30 18:14:16 2013 > % +++ e_cosh.c Mon Jun 17 23:54:12 2013 I'll lookover the rest of this tonight. -- Steve