| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-08-02 | 2.3 kB | |
| v0.43.1 source code.tar.gz | 2026-08-02 | 4.4 MB | |
| v0.43.1 source code.zip | 2026-08-02 | 4.5 MB | |
| Totals: 3 Items | 8.9 MB | 1 | |
Release 0.43.1 (2026-08-02)
Bug fixes
- Improve numerical stability and domain coverage of
gamma_approxandln_gamma_approx(#105) (Thanks to @jzeuzs) ln_gamma_approxnow applies Euler's reflection formula forz < 0.5, which previously onlygamma_approxdid.- Poles are handled explicitly:
gamma_approxreturnsNaNat negative integers andln_gamma_approxreturns+infat non-positive integers. - The positive-integer fast path accumulates in
f64instead of the integerfactorialhelper, and saturates to+infabovez = 171. - Adds 171 lines of tests covering poles, reflection, integer arguments and large-magnitude inputs.
- Make
ln_gammaexact at small integers andgamma(-0.0)negative infinity (#113) - Integer arguments up to 23 route through the exact factorial path, so
ln_gamma_approx(1.0)andln_gamma_approx(2.0)return exactly0instead of about-1e-11. This matters for callers that subtract two log-gammas of equal argument. gamma_approx(-0.0)returns-infwhilegamma_approx(0.0)returns+inf, matching C99tgammaand SciPy.
JOSS review (#10366) cycle
Metadata
- Add Russell R P Senthamarai to
CITATION.cffand the manuscript author list. The manuscript andCITATION.cffnow list the same eight named authors in the same order with matching ORCIDs. - Use a single SPDX identifier for the
CITATION.cfflicensefield.MIT OR Apache-2.0is an SPDX expression, which the Citation File Format 1.2.0 schema does not accept. Zenodo validates the file with cffconvert during GitHub release archiving, so the v0.42.0 and v0.43.0 archives failed and never received a DOI. The array form is valid per the CFF spec but Zenodo has rejected it since the InvenioRDM migration ([zenodo/zenodo#2515](https://github.com/zenodo/zenodo/issues/2515)). The crate stays dual-licensed under MIT or Apache-2.0 throughCargo.tomland the twoLICENSE-*files.
Documentation
- Apply editorial wording fixes to the manuscript (#114) (Thanks to @jbytecode)