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.22-479-geae6c38


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  eae6c382bdca2e7ac582a69d56c9c228b678ee67 (commit)
      from  352988a4a66723b9884ef92e0c2a2ae1165776d6 (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=eae6c382bdca2e7ac582a69d56c9c228b678ee67

commit eae6c382bdca2e7ac582a69d56c9c228b678ee67
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Oct 28 17:12:20 2015 +0000

    Use C11 *_DECIMAL_DIG macros in libm-test.inc.
    
    Now that we build with -std=gnu11, we can use C11 <float.h> macros
    such as FLT_DECIMAL_DIG instead of the GCC predefines such as
    __FLT_DECIMAL_DIG__ that are used internally in <float.h>.  This patch
    makes libm-test.inc do so.
    
    Tested for x86_64 and x86.
    
    	* math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
    	DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
    	__DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.

diff --git a/ChangeLog b/ChangeLog
index 76f23fc..b647bed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
+	DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
+	__DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
+
 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 239587d..6cce5fc 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -345,12 +345,12 @@ static FLOAT max_valid_error;
    hex digit, in the case of TYPE_HEX_DIG).  When used with printf
    formats where the precision counts only digits after the point, 1
    is subtracted from these values. */
-#define TYPE_DECIMAL_DIG CHOOSE (__DECIMAL_DIG__,	\
-				 __DBL_DECIMAL_DIG__,	\
-				 __FLT_DECIMAL_DIG__,	\
-				 __DECIMAL_DIG__,	\
-				 __DBL_DECIMAL_DIG__,	\
-				 __FLT_DECIMAL_DIG__)
+#define TYPE_DECIMAL_DIG CHOOSE (LDBL_DECIMAL_DIG,	\
+				 DBL_DECIMAL_DIG,	\
+				 FLT_DECIMAL_DIG,	\
+				 LDBL_DECIMAL_DIG,	\
+				 DBL_DECIMAL_DIG,	\
+				 FLT_DECIMAL_DIG)
 #define TYPE_HEX_DIG ((MANT_DIG + 7) / 4)
 
 /* Compare KEY (a string, with the name of a function) with ULP (a

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

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