mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: musl@lists.openwall.com
Subject: [musl] accuracy
Date: Sat, 06 Feb 2021 08:46:56 +0100	[thread overview]
Message-ID: <mw1rdtvdsf.fsf@tomate.loria.fr> (raw)

       Hi,

with the two patches from Szabolcs on top of musl-1.2.2, I confirm the results
for acosh and sinh are back to normal for the whole binary32 range:

Checking function acosh with MPFR_RNDN
...
libm wrong by up to 2.01e+00 ulp(s) [2] for x=0x1.01cb98p+0
acoshf     gives 0x1.e4ce84p-4
mpfr_acosh gives 0x1.e4ce8p-4
Total: errors=295917691 (6.92%) errors2=2708 maxerr=2.01e+00 ulp(s)

Checking function sinh with MPFR_RNDN
...
libm wrong by up to 1.83e+00 ulp(s) [2] for x=0x1.783ab6p-1
sinhf     gives 0x1.9b038p-1
mpfr_sinh gives 0x1.9b0384p-1
Total: errors=72811936 (1.70%) errors2=31216 maxerr=1.83e+00 ulp(s)

Paul

                 reply	other threads:[~2021-02-06  7:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=mw1rdtvdsf.fsf@tomate.loria.fr \
    --to=paul.zimmermann@inria.fr \
    --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).