pub fn gamma(x: f64) -> f64Expand description
The gamma function Γ(x) for real x.
Uses a Lanczos approximation (relative error about 1e-15) with the reflection formula for
x < 0.5. Returns NaN at the poles (zero and the negative integers) and +inf on overflow
(x > 171.62). Positive integers are evaluated exactly as (x-1)!.