This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add libm-test support for per-rounding-mode manually specified results
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Mon, 17 Mar 2014 13:22:31 +0100
- Subject: Re: Add libm-test support for per-rounding-mode manually specified results
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1403110019180 dot 1471 at digraph dot polyomino dot org dot uk>
On 03/11/2014 01:21 AM, Joseph S. Myers wrote:
> This patch continues the libm-test move towards automatic testing of
> all test inputs in all rounding modes by adding gen-libm-test.pl
> support for tests specifying results in each rounding mode manually.
>
> Previously a TEST_* line could specify arguments and results, or
> arguments, results and flags. Now there is the option of (arguments,
> results-rd, flags-rd, results-rn, flags-rn, results-rz, flags-rz,
> results-ru, flags-ru). This is used to replace the separate arrays of
> results in each rounding mode for lrint, llrint and rint. (In the
> case of rint, some tests were only in rint_test_data and needed to
> have expectations for non-default rounding modes added, which I did
> manually. In various cases there were slight differences in things
> such as the ordering of tests in the arrays for each mode.)
ok, 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