This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add libm-test support for per-rounding-mode manually specified results


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]