]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix ldbl-128ibm sinhl spurious overflows (bug 19350).
authorJoseph Myers <joseph@codesourcery.com>
Wed, 9 Dec 2015 22:37:08 +0000 (22:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 9 Dec 2015 22:37:08 +0000 (22:37 +0000)
commitf517e06ab71e07b24bf085063b0ba2d072da4a56
tree69f4238e386230177b71657313b11843cfe706fe
parentca2fcac629b9b7781ccd52685b28741d89ff128f
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.
ChangeLog
sysdeps/ieee754/ldbl-128ibm/e_sinhl.c