Crate factorial

source ·
Expand description

Compute the factorial

This crate provides some convenient and safe methods to compute the factorial and related functions the most naive way possible.

They are not necessarily the fastest versions: there are prime sieve methods that compute the factorial in O(n (log n loglog n)^2). Patches are welcome.

Traits

Unary operator for computing the double factorial of a number
Unary operator for computing the factorial of a number