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.15-1195-gb7abb4b
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Jun 2012 19:26:27 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-1195-gb7abb4b
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 b7abb4bf78443f4f8d05a9dfa768fdee65b99d42 (commit)
from 79662d4270e4d5c585dd7b2af012c6ac4a8e00d1 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b7abb4bf78443f4f8d05a9dfa768fdee65b99d42
commit b7abb4bf78443f4f8d05a9dfa768fdee65b99d42
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Jun 21 19:26:09 2012 +0000
Fix wordsize-64 cosh regression (bug 14273).
diff --git a/ChangeLog b/ChangeLog
index a754fef..f9ccbe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-06-21 Joseph Myers <joseph@codesourcery.com>
+ [BZ #14273]
+ * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
+ Clear sign bit of 64-bit integer value before comparing against
+ overflow value.
+
* sysdeps/mach/configure: Regenerated.
2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/NEWS b/NEWS
index b5edb99..8797a6b 100644
--- a/NEWS
+++ b/NEWS
@@ -30,7 +30,7 @@ Version 2.16
13983, 13986, 13996, 14012, 14027, 14033, 14034, 14036, 14040, 14043,
14044, 14048, 14049, 14050, 14053, 14055, 14059, 14064, 14075, 14080,
14083, 14103, 14104, 14109, 14112, 14117, 14122, 14123, 14134, 14153,
- 14183, 14188, 14199, 14210, 14218, 14229, 14241, 14278
+ 14183, 14188, 14199, 14210, 14218, 14229, 14241, 14273, 14278
* Support for the x32 ABI on x86-64 added. The x32 target is selected by
configuring glibc with:
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c b/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
index b8ab748..8459352 100644
--- a/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
+++ b/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c
@@ -67,6 +67,7 @@ __ieee754_cosh (double x)
/* |x| in [log(maxdouble), overflowthresold] */
int64_t fix;
EXTRACT_WORDS64(fix, x);
+ fix &= UINT64_C(0x7fffffffffffffff);
if (fix <= UINT64_C(0x408633ce8fb9f87d)) {
w = __ieee754_exp(half*fabs(x));
t = half*w;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
NEWS | 2 +-
sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c | 1 +
3 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources