Registry / utility / malachite

malachite

JSON →
library0.9.1rscratesunverified

Arbitrary-precision arithmetic with efficient algorithms partially derived from GMP, FLINT, and MPFR.

# Cargo.toml [dependencies] malachite = "0.9.1"
INSTALL
IMPORT
SIG · MALACHITE
M
malachite
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.

Integer
use malachite::num::Integer;

Perform arbitrary-precision integer arithmetic.

use malachite::num::Integer; let a = Integer::from(123456789); let b = Integer::from(987654321); println!("Sum: {}", a + b);
Debug
Known issues
gotchaLarge integer operations can be slow; consider using GMP backend if available.
fix
Enable the 'gmp' feature for faster arithmetic.
affects: >=0.9.0
Upgrade
Version history
0.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
malachite — cargo add malachite · libregistry