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.24-31-g146f208


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  146f208da68a3ff27a52f05536c61e6db69cd87f (commit)
      from  412cb261b0d66ef5251d7d1c8276b5c522d943b7 (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=146f208da68a3ff27a52f05536c61e6db69cd87f

commit 146f208da68a3ff27a52f05536c61e6db69cd87f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Aug 3 22:56:54 2016 +0000

    Also handle __STDC_WANT_IEC_60559_BFP_EXT__ in <tgmath.h>.
    
    My __STDC_WANT_IEC_60559_BFP_EXT__ patch omitted to update the
    conditions on the nextup and nextdown type-generic macros in
    <tgmath.h>.  This patch updates those conditions accordingly.  (As
    glibc doesn't currently have an exp10 type-generic macro, no such
    changes are needed relating to __STDC_WANT_IEC_60559_FUNCS_EXT__;
    adding such a type-generic macro would be a new feature.)
    
    Tested for x86_64 and x86 (testsuite, and that installed stripped
    shared libraries are unchanged by the patch).  Committed.
    
    	* math/tgmath.h (nextdown): Define if
    	[__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
    	(nextup): Likewise.

diff --git a/ChangeLog b/ChangeLog
index ac692dc..0fe7eaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/tgmath.h (nextdown): Define if
+	[__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
+	(nextup): Likewise.
+
 	* bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
 	macro.
 	* include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
diff --git a/math/tgmath.h b/math/tgmath.h
index 8916fbe..de1eb98 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -392,7 +392,7 @@
    prevailing rounding mode.  */
 #define rint(Val) __TGMATH_UNARY_REAL_ONLY (Val, rint)
 
-#ifdef __USE_GNU
+#if __GLIBC_USE (IEC_60559_BFP_EXT)
 /* Return X - epsilon.  */
 # define nextdown(Val) __TGMATH_UNARY_REAL_ONLY (Val, nextdown)
 /* Return X + epsilon.  */

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

Summary of changes:
 ChangeLog     |    4 ++++
 math/tgmath.h |    2 +-
 2 files changed, 5 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]