Implementation for coshl.

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Jun 17 23:47:26 UTC 2013


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


More information about the freebsd-numerics mailing list