Skip to main content

MAX_BITS

Constant MAX_BITS 

Source
pub const MAX_BITS: u64 = _; // 67_108_864u64
Expand description

The largest magnitude a power is allowed to reach, in bits. A bignum power grows without warning — 2 ^ 10000000x is a gigabyte — so the arithmetic refuses rather than exhausts the machine.