Function rgsl::gamma_beta::factorials::fact

source ·
pub fn fact(n: u32) -> f64
Expand description

This routine computes the factorial n!. The factorial is related to the Gamma function by n! = \Gamma(n+1). The maximum value of n such that n! is not considered an overflow is given by the macro SF_FACT_NMAX and is 170.