This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Move TEST_f_f tests for [l-y]* functions from libm-test.inc to auto-libm-test-in
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Thu, 05 Dec 2013 10:18:17 +0100
- Subject: Re: Move TEST_f_f tests for [l-y]* functions from libm-test.inc to auto-libm-test-in
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1312050125080 dot 21433 at digraph dot polyomino dot org dot uk>
On 12/05/2013 02:32 AM, Joseph S. Myers wrote:
> This patch completes moving libm TEST_f_f tests, for functions
> effectively needing some tool to compute the expected results, to
> auto-libm-test-*, moving tests of functions [l-y]*.
>
> gen-auto-libm-tests.c gets the special number pi/4 added that I'd
> previously missed in working out what special inputs such functions
> use. M_* macros that were local to libm-test.inc, for constants no
> longer used for inputs or expected results because the relevant tests
> have moved to auto-libm-test-in, are removed. TEST_COND_* macros are
> added to enable XFAILing one test for x86 and x86_64 as needed for an
> expm1 bug shown up by the sinh tests in all rounding modes now using
> the same inputs; this illustrates how arbitrary such conditions can
> easily be defined and used for XFAILing, then removed again when no
> longer needed.
>
> Tested x86_64 and x86 and ulps updated accordingly.
Thanks! This is ok,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: 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