This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.17-632-g0d3e777


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  0d3e777af2f2818111e2699982f64af16ac032b5 (commit)
      from  66c13581afc5d348089bb9dcb68142ee3d26006e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0d3e777af2f2818111e2699982f64af16ac032b5

commit 0d3e777af2f2818111e2699982f64af16ac032b5
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu May 9 14:33:30 2013 +0000

    Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc.

diff --git a/ChangeLog b/ChangeLog
index 946d093..b6eae59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
+
 	* math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
 	M_PI_4l.
 
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 8845054..c508af6 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -212,7 +212,6 @@
 #define M_PI2_LOG10El		0.682188176920920673742891812715677885L
 #define M_PI4_LOG10El		0.341094088460460336871445906357838943L
 #define M_PI_LOG10El		1.364376353841841347485783625431355770L
-#define M_SQRT_2_2		0.70710678118654752440084436210484903L /* sqrt (2) / 2 */
 
 #define ulps_file_name "ULPs"	/* Name of the ULPs file.  */
 static FILE *ulps_file;		/* File to document difference.  */
@@ -7081,7 +7080,7 @@ csqrt_test (void)
   TEST_c_c (csqrt, -2, 3, 0.89597747612983812471573375529004348L, 1.6741492280355400404480393008490519L);
   /* Principal square root should be returned (i.e., non-negative real
      part).  */
-  TEST_c_c (csqrt, 0, -1, M_SQRT_2_2, -M_SQRT_2_2);
+  TEST_c_c (csqrt, 0, -1, M_SQRT1_2l, -M_SQRT1_2l);
 
   TEST_c_c (csqrt, 0x1.fffffep+127L, 0x1.fffffep+127L, 2.026714405498316804978751017492482558075e+19L, 8.394925938143272988211878516208015586281e+18L);
   TEST_c_c (csqrt, 0x1.fffffep+127L, 1.0L, 1.844674352395372953599975585936590505260e+19L, 2.710505511993121390769065968615872097053e-20L);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    3 +++
 math/libm-test.inc |    3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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