[PATCH 0/2] Fix lgammaf and lgamma for small ranges and in [2, 3[
Andoni Arregi <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Organization | GTD GmbH |
| Message-ID | <[email protected]> |
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