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: Initialize x in frexp, modf, remqou tests


On 05/06/2013 05:03 PM, Joseph S. Myers wrote:
The tests in libm-test.inc that check the value of signgam initialize
it to 0 before each test (gen-libm-test.pl has special code to do
so).  The tests of libm functions that check values output through
pointers do not initialize the variables before testing, but it's more
robust to do so to detect any cases where the function fails to set an
output through the pointer at all, and being more consistent here also
helps in the conversion to data-driven tests.  This patch adds
appropriate initializers for those tests.  Tested x86_64.


thanks, this is fine,

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]