bigfactorial

Crates.iobigfactorial
lib.rsbigfactorial
version0.1.2
sourcesrc
created_at2021-01-24 06:38:18.215261
updated_at2021-01-24 06:39:32.939778
descriptionPrecalculated compile-time factorial macro for numbers upto 99.
homepage
repositoryhttps://github.com/littledivy/bigfactorial
max_upload_size
id345925
size11,909
Divy Srivastava (littledivy)

documentation

README

bigfactorial

Tiny compile-time macro for calculating factorial of numbers upto 99 with num_bigint.

Results are shipped precalculated.

usage

use bigfactorial::fact;
use num_bigint::BigInt;

fact!(45)?; // Bigint(119622220865480194561963161495657715064383733760000000000)

license

MIT license

Commit count: 5

cargo fmt