Function statrs::function::factorial::factorial [−][src]
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
.
Remarks
Returns f64::INFINITY
if x > 170