Function approximate_multifactorial_digits_float
Source pub fn approximate_multifactorial_digits_float(k: u32, n: Float) -> Integer
Expand description
Calculates the approximate digits of a multifactorial.
This is based on the base 10 logarithm of Sterling’s Approximation.
§Panic
Will panic if either n is non-positive,
or if n is inf as a Float.
Algorithm adapted from Wikipedia as cc-by-sa-4.0