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: Convert TEST_f_L tests from code to data


On 05/16/2013 02:54 PM, Joseph S. Myers wrote:
On Thu, 16 May 2013, Andreas Jaeger wrote:

+    /* XXX this test is incomplete.  We need to have a way to specifiy
+       the rounding method and test the critical cases.  So far, only
+       unproblematic numbers are tested.  */


Is the above comment  really reflecting current state? Could you update as
appropriate, please?

Dealing with XXX comments is already on the todo list
<http://sourceware.org/glibc/wiki/Development_Todo/Master#libm_testsuite>.

Ok, so let's handle this later.

(And, we don't yet have a mechanism for tests of integer results to
specify that the result itself is ignored, as I remarked in bug 15470.)

How thorough the coverage is (beyond the rounding mode issue, which *is*
now covered) - well, that needs a much more general review for many more
functions in libm-test.inc; deciding whether coverage is sufficient isn't
necessarily simple (but the llrint tests don't cover subnormals,
infinities, NaNs, or out-of-range values at present).

understood, thanks,

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


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