Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 16:47:19 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        David Schultz <das@FreeBSD.org>, freebsd-numerics@FreeBSD.org
Subject:   Re: Implementation for coshl.
Message-ID:  <20130617234719.GA11552@troutmask.apl.washington.edu>
In-Reply-To: <20130618091306.A787@besplex.bde.org>
References:  <20130610003645.GA16444@troutmask.apl.washington.edu> <20130610110740.V24058@besplex.bde.org> <20130610055834.GA68643@zim.MIT.EDU> <20130618091306.A787@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130617234719.GA11552>