Re: [PATCH] libm -- fix expl kernels

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 19 Sep 2020 17:09:58 -0700
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
Received on Sat Sep 19 2020 - 22:10:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC