This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-181-g3d7b66f
- From: gftg at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Aug 2017 19:14:44 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-181-g3d7b66f
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 3d7b66f66cb223e899a7ebc0f4c20f13e711c9e0 (commit)
from ebd6f0076a83bb25a9853773fbfbcff00b4c9a32 (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=3d7b66f66cb223e899a7ebc0f4c20f13e711c9e0
commit 3d7b66f66cb223e899a7ebc0f4c20f13e711c9e0
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date: Wed Aug 23 10:16:54 2017 -0300
Fix the C++ version of issignaling when __NO_LONG_DOUBLE_MATH is defined
When __NO_LONG_DOUBLE_MATH is defined, __issignalingl is not available,
thus issignaling with long double argument should call __issignaling,
instead.
Tested for powerpc64le.
* math/math.h [defined __cplusplus] (issignaling): In the long
double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
is not defined. Call __issignaling, otherwise.
diff --git a/ChangeLog b/ChangeLog
index 3521ed1..a628344 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
+
+ * math/math.h [defined __cplusplus] (issignaling): In the long
+ double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
+ is not defined. Call __issignaling, otherwise.
+
2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
diff --git a/math/math.h b/math/math.h
index b5d6c43..5acbe88 100644
--- a/math/math.h
+++ b/math/math.h
@@ -486,7 +486,15 @@ enum
extern "C++" {
inline int issignaling (float __val) { return __issignalingf (__val); }
inline int issignaling (double __val) { return __issignaling (__val); }
-inline int issignaling (long double __val) { return __issignalingl (__val); }
+inline int
+issignaling (long double __val)
+{
+# ifdef __NO_LONG_DOUBLE_MATH
+ return __issignaling (__val);
+# else
+ return __issignalingl (__val);
+# endif
+}
# if __HAVE_DISTINCT_FLOAT128
inline int issignaling (_Float128 __val) { return __issignalingf128 (__val); }
# endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
math/math.h | 10 +++++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources