approximate_multifactorial_float

Function approximate_multifactorial_float 

Source
pub fn approximate_multifactorial_float(n: Float, k: 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.