[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: [PATCH] libm -- fix expl kernels
From:       Steve Kargl <sgk () troutmask ! apl ! washington ! edu>
Date:       2020-09-20 0:09:58
Message-ID: 20200920000958.GA47838 () troutmask ! apl ! washington ! edu
[Download RAW message or body]

On Sat, Sep 19, 2020 at 04:58:49PM -0700, Steve Kargl wrote:
> The following patch fixes the ld80 and ld128 kernels for expl(x).

Subj: is slightly wrong.  This fixes the cexpl(z) kernels.

> I can't test ld128, so that patch is untested.
> 
> . Micro-optimization: use sincosl(x) instead of a call to cosl(x) and
>   a call to sinl(x).  Argument reduction is done once not twice.

    This part also fixes a cos(x) that should be cosl(x).

> . Use a long double constant instead of an invalid double constant.
> . Spell scale2 correctly

-- 
Steve
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic