glibc/sysdeps/ieee754/ldbl-128ibm
Joseph Myers b821f414e4 Fix ldbl-128ibm coshl spurious overflows (bug 16407).
This patch fixes bug 16407, spurious overflows from ldbl-128ibm coshl.
The implementation assumed that a high part (reinterpreted as an
integer) of the absolute value of the argument of 0x408633ce8fb9f87dLL
or more meant overflow, but the actual threshold has high part
0x408633ce8fb9f87eLL (and a negative low part).  The patch adjusts the
threshold accordingly.

sinhl probably has the same issue, but I didn't get that far in adding
tests of special cases (such as just below and above overflow) before
the freeze and during the freeze is not a suitable time to add them
(as they'd require ulps to be regenerated again), so I'm not changing
that function for now; when I add more tests of special cases, we'll
discover whether sinhl indeed has this problem.

Tested powerpc32.

	* sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
	Increase overflow threshold.
2014-01-07 22:00:04 +00:00
..
e_acoshl.c Fix ldbl-128ibm acoshl inaccuracy (bug 16384). 2014-01-02 16:33:06 +00:00
e_acosl.c Avoid ordered comparisons of NaNs in ldbl-128ibm acosl and asinl. 2013-10-10 19:11:30 +00:00
e_asinl.c Avoid ordered comparisons of NaNs in ldbl-128ibm acosl and asinl. 2013-10-10 19:11:30 +00:00
e_atan2l.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
e_atanhl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
e_coshl.c Fix ldbl-128ibm coshl spurious overflows (bug 16407). 2014-01-07 22:00:04 +00:00
e_exp10l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
e_expl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
e_fmodl.c PowerPC floating point little-endian [4 of 15] 2013-10-04 10:32:48 +09:30
e_gammal_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
e_hypotl.c PowerPC floating point little-endian [4 of 15] 2013-10-04 10:32:48 +09:30
e_ilogbl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
e_j0l.c
e_j1l.c
e_jnl.c Fix Bessel function error handling (bug 6807, bug 15901). 2013-12-04 14:39:37 +00:00
e_lgammal_r.c
e_log2l.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
e_log10l.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
e_logl.c Fix ldbl-128ibm logl inaccuracy (bug 16386). 2014-01-02 16:35:46 +00:00
e_powl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
e_rem_pio2l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
e_remainderl.c PowerPC floating point little-endian [4 of 15] 2013-10-04 10:32:48 +09:30
e_sinhl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
e_sqrtl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gamma_productl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ieee754.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
k_cosl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
k_sincosl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
k_sinl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
k_tanl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
ldbl2mpn.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile
math_ldbl.h PowerPC floating point little-endian [5 of 15] 2013-10-04 10:33:05 +09:30
mpn2ldbl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
printf_fphex.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_asinhl.c Fix ldbl-128ibm asinhl inaccuracy (bug 16385). 2014-01-02 16:34:24 +00:00
s_atanl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_cbrtl.c
s_ceill.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_copysignl.c Use <> for math.h and math_private.h everywhere. 2012-03-09 16:09:10 -08:00
s_cosl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_cprojl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_ctanhl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_ctanl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_erfl.c Fix erfc errno setting on underflow (bug 6786). 2013-12-03 16:25:18 +00:00
s_expm1l.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_fabsl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_finitel.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_floorl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_fmal.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_fpclassifyl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_frexpl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_isinf_nsl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_isinfl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_isnanl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_issignalingl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_llrintl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_llroundl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_log1pl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_logbl.c PowerPC: multiarch logb/logbf/logbl for PowerPC32 2013-12-06 05:47:05 -06:00
s_lrintl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_lroundl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_modfl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_nearbyintl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_nextafterl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_nexttoward.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_nexttowardf.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_remquol.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_rintl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_roundl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_scalblnl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_scalbnl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_signbitl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_sincosl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
s_sinl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_tanhl.c PowerPC floating point little-endian [3 of 15] 2013-10-04 10:32:36 +09:30
s_tanl.c PowerPC floating point little-endian [2 of 15] 2013-10-04 10:32:19 +09:30
s_truncl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
strtold_l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
t_sincosl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
w_expl.c BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm 2013-03-22 12:39:10 -03:00
x2y2m1l.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00