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-629-gfaa7f81


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  faa7f8119fd7137362e2aa8c8d185b4cf9a45166 (commit)
      from  e9a5e0fd548e7c8f048cd2cbf97d16d1c85d5939 (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=faa7f8119fd7137362e2aa8c8d185b4cf9a45166

commit faa7f8119fd7137362e2aa8c8d185b4cf9a45166
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu May 9 12:24:44 2013 +0000

    Use decimal constants in defining M_* in libm-test.inc.

diff --git a/ChangeLog b/ChangeLog
index 1db6abe..3041644 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-05-09  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/libm-test.inc (M_PI_34l): Define using decimal constant.
+	(M_PI_34_LOG10El): Likewise.
+	(M_PI2_LOG10El): Likewise.
+	(M_PI4_LOG10El): Likewise.
+	(M_PI_LOG10El): Likewise.
+
 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 6294f72..9b47ab3 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -207,11 +207,11 @@
 #define M_SQRT_PIl		1.7724538509055160272981674833411451L	/* sqrt (M_PIl)  */
 #define M_LOG_SQRT_PIl		0.57236494292470008707171367567652933L	/* log(sqrt(M_PIl))  */
 #define M_LOG_2_SQRT_PIl	1.265512123484645396488945797134706L	/* log(2*sqrt(M_PIl))  */
-#define M_PI_34l		(M_PIl - M_PI_4l)		/* 3*pi/4 */
-#define M_PI_34_LOG10El		(M_PIl - M_PI_4l) * M_LOG10El
-#define M_PI2_LOG10El		M_PI_2l * M_LOG10El
-#define M_PI4_LOG10El		M_PI_4l * M_LOG10El
-#define M_PI_LOG10El		M_PIl * M_LOG10El
+#define M_PI_34l		2.356194490192344928846982537459627163L	/* 3*pi/4 */
+#define M_PI_34_LOG10El		1.023282265381381010614337719073516828L
+#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.  */

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

Summary of changes:
 ChangeLog          |    8 ++++++++
 math/libm-test.inc |   10 +++++-----
 2 files changed, 13 insertions(+), 5 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]