approximate_multifactorial

Function approximate_multifactorial 

Source
pub fn approximate_multifactorial(
    n: Integer,
    k: u32,
    prec: u32,
) -> (Float, Integer)
Expand description

Calculates an approximation of the multifactorial using the sterling aproximation and the fractional multifactorial algorithm.

ยงPanic

Will panic if n is non-positive, or if the input is so large, that the output is inf, safe if n * 4_000_000 is finite.