dashu-int 0.6.0-rc.4

Arbitrary-precision integer math library for Rust, balancing ergonomics and efficiency. Provides UBig and IBig (unsigned and signed), with small values inlined on the stack. Efficient arithmetic, modular arithmetic, and number theory (pow, ilog, gcd, gcd_ext); two's-complement bit operations; parsing and formatting in base 2-36; optional serde, rand, num-traits, rkyv, and zeroize.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Machine word.
pub type Word = u16;

/// Signed machine word.
pub type SignedWord = i16;

/// Double machine word.
pub type DoubleWord = u32;

/// Signed double machine word.
pub type SignedDoubleWord = i32;