From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14528 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: new exp fails erfc in libc-test Date: Wed, 7 Aug 2019 21:46:06 -0400 Message-ID: <20190808014606.GE9017@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21729"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14544-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 08 03:46:22 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hvXVW-0005YR-4N for gllmg-musl@m.gmane.org; Thu, 08 Aug 2019 03:46:22 +0200 Original-Received: (qmail 25956 invoked by uid 550); 8 Aug 2019 01:46:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 25934 invoked from network); 8 Aug 2019 01:46:19 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14528 Archived-At: 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