Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.02.1903151222160.13162@key0.esi.com.au>
Date: Fri, 15 Mar 2019 12:24:51 +1100 (AEDT)
From: Damian McGuckin <damianm@....com.au>
To: musl@...ts.openwall.com
Subject: Re: atanhf(x) Slight Accuracy Improvements

On Wed, 13 Mar 2019, Damian McGuckin wrote:

> By tweaking some algebra, this can be made more accurate. A comparison 
> of the more accurate version and the original is noted below.
>
> 	 ATANF ... FROM ... TO WORST ERROR % > EPS/2 MEAN ERROR
> 	 --------------------------------------------------------------
> 	 Accurate:0.00000..0.17000 1.00023*EPS 0.76907% 0.01967*EPS
> 	 Accurate:0.17000..0.55000 0.99151*EPS 5.52206% 0.21620*EPS

Sorted for the crucial segment.

More algebraic rearrangement and that 1.00023*EPS drops to 0.6667*EPS.

I will work on the second segment.

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.