Remove conditional on LDBL_MANT_DIG from e_lgammal_r.c
commit9ac3c68218b5bcbc40ae9e27b0b13f5e1c81f84c
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Sun, 10 Sep 2017 13:31:47 +0000 (10 10:31 -0300)
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Thu, 21 Sep 2017 20:37:40 +0000 (21 17:37 -0300)
treedce9b922ed320f7bb6900c10a23e2bad1a2a6e93
parentd2f0ed09f88195dbeaa8a667b2d3ffa5423562a1
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.
ChangeLog
sysdeps/ieee754/ldbl-128/e_lgammal_r.c
sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c