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-588-gf517e06


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  f517e06ab71e07b24bf085063b0ba2d072da4a56 (commit)
      from  ca2fcac629b9b7781ccd52685b28741d89ff128f (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=f517e06ab71e07b24bf085063b0ba2d072da4a56

commit f517e06ab71e07b24bf085063b0ba2d072da4a56
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 9 22:37:08 2015 +0000

    Fix ldbl-128ibm sinhl spurious overflows (bug 19350).
    
    The ldbl-128ibm implementation of sinhl uses a slightly too small
    overflow threshold (similar to bug 16407 for coshl).  This patch fixes
    it to use a safe threshold (so that values whose high part is above
    the value compared with definitely result in an overflow in all
    rounding modes).
    
    Tested for powerpc.
    
    	[BZ #19350]
    	* sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
    	Increase overflow threshold.

diff --git a/ChangeLog b/ChangeLog
index b76c54b..1c7b198 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #19350]
+	* sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
+	Increase overflow threshold.
+
 	[BZ #19349]
 	* sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
 	when small.
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_sinhl.c b/sysdeps/ieee754/ldbl-128ibm/e_sinhl.c
index 29700ad..67d9d24 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_sinhl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_sinhl.c
@@ -67,7 +67,7 @@ __ieee754_sinhl(long double x)
 	if (ix < 0x40862e42fefa39efLL)  return h*__ieee754_expl(fabsl(x));
 
     /* |x| in [log(maxdouble), overflowthresold] */
-	if (ix <= 0x408633ce8fb9f87dLL) {
+	if (ix <= 0x408633ce8fb9f87eLL) {
 	    w = __ieee754_expl(0.5*fabsl(x));
 	    t = h*w;
 	    return t*w;

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

Summary of changes:
 ChangeLog                             |    4 ++++
 sysdeps/ieee754/ldbl-128ibm/e_sinhl.c |    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]