Registry / utility / malachite-base

malachite-base

JSON →
library0.9.1rscratesunverified

A collection of utilities, including new arithmetic traits and iterators that generate all values of a type.

# Cargo.toml [dependencies] malachite-base = "0.9.1"
INSTALL
IMPORT
SIG · MALACHITE-BASE
M
malachite-base
utilityrustv0.9.1
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 malachite_base::num::arithmetic::traits::Factorial;

Computes the factorial of a number using the Factorial trait.

use malachite_base::num::arithmetic::traits::Factorial; fn main() { let fact = 5u32.factorial(); println!("5! = {}", fact); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
malachite-base — cargo add malachite-base · libregistry