pub fn factorial(x: u64) -> f64
Computes the factorial function x -> x! for 170 >= x >= 0. All factorials larger than 170! will overflow an f64.
x -> x!
170 >= x >= 0
170!
f64
Returns f64::INFINITY if x > 170
f64::INFINITY
x > 170