This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Initialize x in frexp, modf, remqou tests
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 06 May 2013 20:54:57 +0200
- Subject: Re: Initialize x in frexp, modf, remqou tests
- References: <Pine dot LNX dot 4 dot 64 dot 1305061500580 dot 3066 at digraph dot polyomino dot org dot uk>
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