Module bigint

Source

Structs§

BigInt
A big signed integer type.
BigUint
A big unsigned integer type.
ParseBigIntError
RandomBits
A random distribution for BigUint and BigInt values of a particular bit size.
TryFromBigIntError
The error type returned when a checked conversion regarding big integer fails.
U32Digits
An iterator of u32 digits representation of a BigUint or BigInt, ordered least significant digit first.
U64Digits
An iterator of u64 digits representation of a BigUint or BigInt, ordered least significant digit first.
UniformBigInt
The back-end implementing rand’s UniformSampler for BigInt.
UniformBigUint
The back-end implementing rand’s UniformSampler for BigUint.

Enums§

Sign
A Sign is a BigInt’s composing element.

Traits§

RandBigInt
A trait for sampling random big integers.
ToBigInt
A generic trait for converting a value to a BigInt. This may return None when converting from f32 or f64, and will always succeed when converting from any integer or unsigned primitive, or BigUint.
ToBigUint
A generic trait for converting a value to a BigUint.