Date: Tue, 16 May 2017 11:00:02 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Bruce Evans <brde@optusnet.com.au> Cc: freebsd-hackers@freebsd.org, freebsd-numerics@freebsd.org Subject: Re: Implementation of half-cycle trignometric functions Message-ID: <20170516180002.GA35211@troutmask.apl.washington.edu> In-Reply-To: <20170514071942.T1084@besplex.bde.org> References: <20170428165658.GA17560@troutmask.apl.washington.edu> <20170429035131.E3406@besplex.bde.org> <20170428201522.GA32785@troutmask.apl.washington.edu> <20170429070036.A4005@besplex.bde.org> <20170428233552.GA34580@troutmask.apl.washington.edu> <20170429005924.GA37947@troutmask.apl.washington.edu> <20170429151457.F809@besplex.bde.org> <20170429194239.P3294@besplex.bde.org> <20170513205517.GA91911@troutmask.apl.washington.edu> <20170514071942.T1084@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 14, 2017 at 08:30:34AM +1000, Bruce Evans wrote: > On Sat, 13 May 2017, Steve Kargl wrote: > > > Based on other replies in this email exchange, I have gone back > > and looked at improvements to my __kernel_{cos|sin|tan}pi[fl] > > routines. The improvements where for both accuracy and speed. > > I really don't want another set of kernels (or more sets for degrees > instead of radians, and sincos). Ugh. __kernel_tan(x,y,iy) and __kernel_tanl(x,y,iy) seem to have inverted logic for iy. That is, iy = 1 for __kernel_tan() needs to be changed to y = -1 for __kernel_tanl(), and vice versa. -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170516180002.GA35211>