rust/library/compiler-builtins/libm-test
Juho Kahala 8cd47adab2
libm: Fix tests for lgamma
The tests were using `rug::ln_gamma` as a reference for `libm::lgamma`,
which actually computes the natural logarithm *of the absolute value* of
the Gamma function.

This changes the range of inputs used for the icount-benchmarks of these
functions, which causes false regressions in [1].

[1]: https://github.com/rust-lang/compiler-builtins/actions/runs/21788698368/job/62864230903?pr=1075#step:7:2710.

Fixes: a1a066611dc2 ("Create interfaces for testing against MPFR")
2026-02-09 04:32:04 -06:00
..
benches bench: Update the benchmark runner to gungraun 0.17 2025-12-04 21:35:41 -05:00
examples libm-test: Make extensive an attribute rather than a test type 2025-05-29 21:06:44 +00:00
src libm: Fix tests for lgamma 2026-02-09 04:32:04 -06:00
tests libm: Improved integer utilities, implement shifts and bug fixes for i256 and u256 2025-07-01 08:07:48 +00:00
build.rs libm: Fix crate compilation 2025-04-19 18:23:45 -04:00
Cargo.toml meta: Sort Cargo.toml [features] table after [dependencies] 2026-02-07 07:51:17 -06:00