This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 09 May 2013 16:23:23 +0200
- Subject: Re: Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc
- References: <Pine dot LNX dot 4 dot 64 dot 1305091417280 dot 22379 at digraph dot polyomino dot org dot uk>
On 05/09/2013 04:18 PM, Joseph S. Myers wrote:
One of the defined constants in libm-test.inc, M_SQRT_2_2, has exactly
the same semantics as M_SQRT1_2l in math.h. This patch changes the
test to use the macro in math.h directly instead. Tested x86_64 and
x86.
(Not strictly needed for moving libm-test.inc to be table-based, but
noticed in the course of preparation for that.)
2013-05-09 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (M_SQRT_2_2): Remove macro.
(csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
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