diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-06-21 19:26:09 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-06-21 19:26:09 +0000 |
commit | b7abb4bf78443f4f8d05a9dfa768fdee65b99d42 (patch) | |
tree | 86b3d1d629d7c42911923dd3588487e49ecbc3e4 /sysdeps/ieee754 | |
parent | 79662d4270e4d5c585dd7b2af012c6ac4a8e00d1 (diff) | |
download | glibc-b7abb4bf78443f4f8d05a9dfa768fdee65b99d42.tar.gz glibc-b7abb4bf78443f4f8d05a9dfa768fdee65b99d42.tar.xz glibc-b7abb4bf78443f4f8d05a9dfa768fdee65b99d42.zip |
Fix wordsize-64 cosh regression (bug 14273).
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c b/sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c index b8ab748304..84593521cc 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; |