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: Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc


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


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