[PATCH 0/2] Fix lgammaf and lgamma for small ranges and in [2, 3[
Andoni Arregi
andoni.arregui@gtd-gmbh.de
Thu Feb 10 16:07:32 GMT 2022
lgammaf shows a wrong behavior for very small cases and also for cases
in the range [2.0, 3.0), this last problem also being present in
lgamma. These wrong behaviors also affect the tgammaf and tgamma
functions respectively. The provided patches fix these errors.
Andoni Arregi (2):
Improve lgammaf range for very small cases
Add a missing default case in lgamma
newlib/libm/math/er_lgamma.c | 1 +
newlib/libm/math/erf_lgamma.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
--
2.35.1
More information about the Newlib
mailing list