mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: new exp fails erfc in libc-test
Date: Wed, 7 Aug 2019 21:46:06 -0400	[thread overview]
Message-ID: <20190808014606.GE9017@brightrain.aerifal.cx> (raw)
In-Reply-To: <CACcSVPFCLdTiKV9jexq6D_K=9utKy9Z6J_MSUJwh+r3PMdWcgA@mail.gmail.com>

On Wed, Aug 07, 2019 at 05:47:54PM -0700, Dan Gohman wrote:
> As of the patch which introduced the new exp implementations:
> 
> http://git.musl-libc.org/cgit/musl/commit/?id=e16f7b3c02e17d0ace779a11f0d53a9c05fdd434
> 
> I am seeing a test failure in the erfc test in libc-test on at least x86-64
> (erfc calls exp internally):
> 
> src/math/special/erfc.h:6: RN erfc(0x1.5db559fe5c0bap+0) want
> 0x1.b53cf571d328fp-5 got 0x1.b53cf571d328cp-5 ulperr -2.609 = -0x1.8p+1 +
> 0x1.900982p-2
> 
> Please let me know if there's any other information which would be useful.

I think errors on this order of magnitude are considered normal for
the transcendental functions. Is there something you're concerned will
break due to the difference in accuracy here, or are you asking if
it's potentially something you should be concerned about?

Rich


  reply	other threads:[~2019-08-08  1:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08  0:47 Dan Gohman
2019-08-08  1:46 ` Rich Felker [this message]
2019-08-08 13:15   ` Dan Gohman
2019-08-08 18:11 ` Szabolcs Nagy

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=20190808014606.GE9017@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --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).