This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Automatically check sanity of ulps from libm tests
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Wed, 05 Mar 2014 09:24:01 +0100
- Subject: Re: Automatically check sanity of ulps from libm tests
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1403042138210 dot 2086 at digraph dot polyomino dot org dot uk>
On 03/04/2014 10:39 PM, Joseph S. Myers wrote:
> This patch, relative to a tree with
> <https://sourceware.org/ml/libc-alpha/2014-03/msg00069.html> applied
> (and independent of my other pending libm testsuite patch
> <https://sourceware.org/ml/libc-alpha/2014-02/msg00627.html>), makes
> libm-test.inc apply sanity checks to ulps values resulting from tests,
> or found in libm-test-ulps files, to avoid the need for manual
> checking/editing of new ulps for cases that are excessively large or
> involve functions that should not have any ulps. For IBM long double,
> errors must be at most 14ulp (the largest currently checked-in value),
> or at most 3ulp (the documented error bound for division) in the case
> of exactly-determined functions; for other formats, the limits are
> 9ulp (also the largest currently checked-in value) and 0ulp. Limits
> from ulps files are saturated to those bounds, and regen-ulps will
> ignore any errors outside those bounds. (Thus if, say, you have an
> architecture-specific problem with fma, the tests can still be XFAILed
> in auto-libm-test-in, but errors outside the permitted range can no
> longer be listed in libm-test-ulps.)
Thanks,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126