Module integer

Module integer 

Source
Expand description

Arbitrary-precision integer support and helpers.

Structs§

ConstSafeInt
Fixed-size, byte-backed integer that can be converted into SafeInt.
SafeInt
Arbitrary-precision integer wrapper that exposes safe, non-panicking operations.

Constants§

DEFAULT_MAX_ITERS
Default iteration cap for the fixed-point approximation used by pow_ratio_scaled when large exponents require the fallback path.