This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Simplify libm-test extra-output initialization
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 17 May 2013 20:26:25 +0200
- Subject: Re: Simplify libm-test extra-output initialization
- References: <Pine dot LNX dot 4 dot 64 dot 1305171543390 dot 21342 at digraph dot polyomino dot org dot uk>
On 05/17/2013 05:44 PM, Joseph S. Myers wrote:
The structures describing libm-test tests for functions with extra
outputs (through pointers or implicitly through global variables) have
fields for how to initialize those extra outputs. These are
unnecessary and this patch changes the initialization to compute at
runtime a value known to be different from the expected output value.
Tested x86_64 and x86.
(This patch is intended as a step towards the goal of gen-libm-test.pl
not having anything hardcoded about particular named functions.)
ok, 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