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-653-gf98ece5


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  f98ece5fe2ea2d4a2c150c3cfceb8a73ace062d0 (commit)
      from  43fe811b73d8f585a4ae837d4a9d4c0f5d46b779 (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=f98ece5fe2ea2d4a2c150c3cfceb8a73ace062d0

commit f98ece5fe2ea2d4a2c150c3cfceb8a73ace062d0
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date:   Mon May 13 12:08:42 2013 -0500

    Define decimal constant M_1_DIV_El in libm-test.inc
    
    This patch replaces the 1.0 / M_El by the decimal constant M_1_DIV_El.

diff --git a/ChangeLog b/ChangeLog
index ea678c8..fdb7c94 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+	* math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
+	(log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
+
 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* benchtests/Makefile (CPPFLAGS-nonlib): Add
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 1f7c2e1..038caeb 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -212,6 +212,7 @@
 #define M_PI2_LOG10El		0.682188176920920673742891812715677885L
 #define M_PI4_LOG10El		0.341094088460460336871445906357838943L
 #define M_PI_LOG10El		1.364376353841841347485783625431355770L
+#define M_1_DIV_El              0.367879441171442321595523770161460867L /* 1 div e  */
 
 #define ulps_file_name "ULPs"	/* Name of the ULPs file.  */
 static FILE *ulps_file;		/* File to document difference.  */
@@ -10932,7 +10933,7 @@ static const struct test_f_f_data log_test_data[] =
     TEST_f_f (log, qnan_value, qnan_value),
 
     TEST_f_f (log, M_El, 1),
-    TEST_f_f (log, 1.0 / M_El, -1),
+    TEST_f_f (log, M_1_DIV_El, -1),
     TEST_f_f (log, 2, M_LN2l),
     TEST_f_f (log, 10, M_LN10l),
     TEST_f_f (log, 0.75L, -0.287682072451780927439219005993827432L),

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

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