mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Re: atanhf(x) Slight Accuracy Improvements
Date: Mon, 18 Mar 2019 00:07:30 +0100	[thread overview]
Message-ID: <20190317230729.GQ26605@port70.net> (raw)
In-Reply-To: <alpine.LRH.2.02.1903172219370.6962@key0.esi.com.au>

* Damian McGuckin <damianm@esi.com.au> [2019-03-17 22:41:53 +1100]:
> ATANH(x)  From  .. To      WORST ERROR  % ERROR>EPS/2  MEAN ERROR
> 
> Improved:0.00000..0.00012  0.04027*EPS   0.00000%      0.00301*EPS
> Original:0.00000..0.00012  0.99741*EPS   0.39818%      0.00581*EPS
> 
> Improved:0.00012..0.00100  0.66667*EPS   8.86075%      0.21559*EPS
> Original:0.00012..0.00100  0.95814*EPS   7.42942%      0.21211*EPS
> 
> Improved:0.00100..0.17157  0.55526*EPS   0.00605%      0.17453*EPS
> Original:0.00100..0.17157  1.09363*EPS   8.51956%      0.23306*EPS
> 
> Improved:0.17157..0.18248  0.63539*EPS   0.41833%      0.18648*EPS
> Original:0.17157..0.18248  1.07990*EPS   5.23646%      0.21706*EPS
> 
> Improved:0.18248..0.26667  0.83800*EPS   2.10627%      0.18376*EPS
> Original:0.18248..0.26667  1.12385*EPS   8.71681%      0.23764*EPS
> 
> Improved:0.26667..0.55000  0.90005*EPS   3.97403%      0.20866*EPS
> Original:0.26667..0.55000  1.12779*EPS   9.27245%      0.24201*EPS
> 
> Improved:0.55000..1.00000  0.68372*EPS   1.39651%      0.19197*EPS
> Original:0.55000..1.00000  0.68372*EPS   1.40897%      0.19207*EPS
> 
> Does this sort of gain make it worthwhile pursing a double version?

if you improve accuracy without performance loss that sounds
useful, but i cannot comment on it without seeing the patch.


  reply	other threads:[~2019-03-17 23:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13 11:18 Damian McGuckin
2019-03-15  1:24 ` Damian McGuckin
2019-03-17 11:41   ` Damian McGuckin
2019-03-17 23:07     ` Szabolcs Nagy [this message]
2019-03-17 23:46       ` Damian McGuckin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190317230729.GQ26605@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).