glibc/sysdeps/ieee754/ldbl-128ibm
Gabriel F. T. Gomes f725563967 Remove conditional on LDBL_MANT_DIG from e_lgammal_r.c
The IEEE 754 implementation of lgammal in sysdeps/ieee754/ldbl-128/ used
to be shared by IBM's implementation in sysdeps/ieee754/ldbl-128ibm/ (by
an inclusion of the source file).  In order for the algorithm to work
for IBM's implementation, a check for LDBL_MANT_DIG was required. Since
the source file is no longer shared, the requirement for the check is
gone.  This patch removes the conditionals.

Tested for powerpc64le and s390x.

	* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
	Remove conditionals on LDBL_MANT_DIG.
	* sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
	(__ieee754_lgammal_r): Likewise.

(cherry picked from commit 9ac3c68218)
2017-10-10 10:15:16 -03:00
..
bits Add C++ versions of iscanonical for ldbl-96 and ldbl-128ibm (bug 22235) 2017-10-03 16:26:05 -03:00
include/bits Add canonicalize, canonicalizef, canonicalizel. 2016-10-26 23:14:31 +00:00
e_acoshl.c Fix ldbl-128ibm acoshl inaccuracy (bug 18019). 2015-02-25 00:01:15 +00:00
e_acosl.c This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use standard C99 macros. This has no effect on generated code. 2015-06-03 15:41:36 +01:00
e_asinl.c Refactor code forcing underflow exceptions. 2015-09-23 22:42:30 +00:00
e_atan2l.c
e_atanhl.c Refactor code forcing underflow exceptions. 2015-09-23 22:42:30 +00:00
e_coshl.c Fix cosh spurious underflows from expm1 (bug 16354), inaccurate results near 0 (bug 17061). 2014-06-23 20:20:10 +00:00
e_exp10l.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
e_expl.c ldbl-128ibm: Automatic replacing of _Float128 and L() 2017-10-10 10:15:16 -03:00
e_fmodl.c Fix ldbl-128ibm fmodl handling of equal arguments with low part zero (bug 19602). 2016-02-18 22:54:07 +00:00
e_gammal_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
e_hypotl.c Fix hypot sNaN handling (bug 20940). 2016-12-07 01:16:36 +00:00
e_ilogbl.c Fix ldbl-128ibm ilogbl near powers of 2 (bug 18029). 2015-02-26 12:57:21 +00:00
e_j0l.c ldbl-128ibm: Automatic replacing of _Float128 and L() 2017-10-10 10:15:16 -03:00
e_j1l.c ldbl-128ibm: Automatic replacing of _Float128 and L() 2017-10-10 10:15:16 -03:00
e_jnl.c Fix j1, jn missing errno setting on underflow (bug 18611). 2015-10-23 21:37:33 +00:00
e_lgammal_r.c Remove conditional on LDBL_MANT_DIG from e_lgammal_r.c 2017-10-10 10:15:16 -03:00
e_log2l.c Fix lgamma*, log10* and log2* results [BZ #21171] 2017-02-17 09:07:57 -02:00
e_log10l.c Fix lgamma*, log10* and log2* results [BZ #21171] 2017-02-17 09:07:57 -02:00
e_logl.c Remove unneeded declarations from math_private.h 2017-04-10 12:20:47 -03:00
e_powl.c Fix sysdeps/ieee754 pow handling of sNaN arguments (bug 20916). 2016-12-02 23:21:15 +00:00
e_rem_pio2l.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
e_remainderl.c Fix ldbl-128ibm remainderl equality test for zero low part (bug 19677). 2016-03-08 00:27:21 +00:00
e_sinhl.c Fix ldbl-128ibm sinhl spurious overflows (bug 19350). 2015-12-09 22:37:08 +00:00
e_sqrtl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gamma_productl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ieee754.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
k_cosl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
k_sincosl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
k_sinl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
k_tanl.c Narrowing the visibility of libc-internal.h even further. 2017-03-01 20:33:46 -05:00
ldbl2mpn.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lgamma_negl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lgamma_productl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Add canonicalize, canonicalizef, canonicalizel. 2016-10-26 23:14:31 +00:00
math_ldbl.h Allow direct use of math_ldbl.h in testsuite. 2017-02-25 10:40:48 -05:00
mpn2ldbl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
printf_fphex.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_asinhl.c Refactor code forcing underflow exceptions. 2015-09-23 22:42:30 +00:00
s_atanl.c Refactor code forcing underflow exceptions. 2015-09-23 22:42:30 +00:00
s_cbrtl.c ldbl-128ibm: Automatic replacing of _Float128 and L() 2017-10-10 10:15:16 -03:00
s_ceill.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_copysignl.c Remove IS_IN_libm 2014-11-24 11:41:47 +05:30
s_cosl.c
s_erfl.c Remove unused variables 2016-01-27 09:30:16 +01:00
s_expm1l.c Fix ldbl-128ibm expm1l (sNaN) (bug 20233). 2016-06-09 17:24:52 +00:00
s_fabsl.c
s_finitel.c Reduce number of constants in __finite* (bug 15384). 2015-09-17 16:47:14 +00:00
s_floorl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_fmal.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_fpclassifyl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_frexpl.c Fix frexp (NaN) (bug 20250). 2016-06-13 17:27:19 +00:00
s_fromfpl_main.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_fromfpl.c Add fromfp functions. 2016-12-31 00:40:59 +00:00
s_fromfpxl.c Add fromfp functions. 2016-12-31 00:40:59 +00:00
s_getpayloadl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_iscanonicall.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_isinfl.c Remove IS_IN_libm 2014-11-24 11:41:47 +05:30
s_isnanl.c Remove IS_IN_libm 2014-11-24 11:41:47 +05:30
s_issignalingl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_llrintl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_llroundl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_log1pl.c Fix ldbl-128ibm log1pl (sNaN) (bug 20234). 2016-06-09 17:25:54 +00:00
s_logbl.c Work around powerpc32 integer 0 converting to -0 (bug 887, bug 19049, bug 19050). 2015-10-05 17:46:50 +00:00
s_lrintl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_lroundl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_modfl.c Remove IS_IN_libm 2014-11-24 11:41:47 +05:30
s_nearbyintl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_nextafterl.c Fix ldbl-128ibm nextafterl, nexttowardl sign of zero result (bug 19678). 2016-02-19 17:19:53 +00:00
s_nexttoward.c Make nextafter, nexttoward set errno (bug 6799). 2015-11-02 18:54:19 +00:00
s_nexttowardf.c Make nextafter, nexttoward set errno (bug 6799). 2015-11-02 18:54:19 +00:00
s_nextupl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_remquol.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_rintl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_roundevenl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_roundl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_scalblnl.c [BZ #6803] Set errno for scalbln, scalbn 2014-06-20 07:48:20 +05:30
s_scalbnl.c Make scalbn set errno (bug 6803). 2015-09-16 21:11:00 +00:00
s_setpayloadl_main.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_setpayloadl.c Add setpayload, setpayloadf, setpayloadl. 2016-11-19 00:16:28 +00:00
s_setpayloadsigl.c Add setpayloadsig, setpayloadsigf, setpayloadsigl. 2016-11-24 23:56:48 +00:00
s_signbitl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_sincosl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_sinl.c
s_tanhl.c Fix ldbl-128ibm tanhl inaccuracy for small arguments (bug 19349). 2015-12-09 21:20:18 +00:00
s_tanl.c
s_totalorderl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_totalordermagl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_truncl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_ufromfpl.c Add fromfp functions. 2016-12-31 00:40:59 +00:00
s_ufromfpxl.c Add fromfp functions. 2016-12-31 00:40:59 +00:00
strtod_nan_ldouble.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strtold_l.c Use locale_t, not __locale_t, throughout glibc 2017-06-20 20:30:06 -04:00
t_expl.h ldbl-128ibm: Automatic replacing of _Float128 and L() 2017-10-10 10:15:16 -03:00
t_sincosl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-canonical-ldbl-128ibm.c Allow direct use of math_ldbl.h in testsuite. 2017-02-25 10:40:48 -05:00
test-fmodl-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-fmodrem-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-remainderl-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-remquol-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test-totalorderl-ldbl-128ibm.c Allow direct use of math_ldbl.h in testsuite. 2017-02-25 10:40:48 -05:00
tst-strtold-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
w_expl_compat.c Move w_exp to libm-compat-call-auto 2017-02-08 17:44:20 -02:00
x2y2m1l.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00