Add libm-test support for per-rounding-mode manually specified results
Andreas Jaeger
aj@suse.com
Mon Mar 17 12:22:00 GMT 2014
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
More information about the Libc-alpha
mailing list