Registry / utility / factorial

factorial

JSON →
library0.4.0rscratesunverified

Convenient methods to compute the factorial, optionally checked.

# Cargo.toml [dependencies] factorial = "0.4.0"
INSTALL
IMPORT
SIG · FACTORIAL
F
factorial
utilityrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Factorial
use factorial::Factorial;

Computes the factorial of a number.

use factorial::Factorial; fn main() { let n: u32 = 5; println!("5! = {}", n.factorial()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
factorial — cargo add factorial · libregistry