Macrosยง
- bigint_
add ๐ - bigint_
sub ๐ - impl_
bigint_ ๐from_ int - impl_
bigint_ ๐from_ uint - impl_
to_ ๐bigint - pow_
impl ๐
Structsยง
- BigInt
- A big signed integer type.
Enumsยง
- Sign
- A Sign is a
BigIntโs composing element.
Traitsยง
- Into
BigInt - A generic trait for converting a value to a
BigInt, consuming the value. - ToBig
Int - A generic trait for converting a value to a
BigInt.
Functionsยง
- bitand_
neg_ ๐neg - bitand_
neg_ ๐pos - bitand_
pos_ ๐neg - bitor_
neg_ ๐neg - bitor_
neg_ ๐pos - bitor_
pos_ ๐neg - bitxor_
neg_ ๐neg - bitxor_
neg_ ๐pos - bitxor_
pos_ ๐neg - i32_
abs_ ๐as_ u32 - i64_
abs_ ๐as_ u64 - i128_
abs_ ๐as_ u128 - into_
magnitude - Return the owned magnitude of a
BigInt. - magnitude
- Return the magnitude of a
BigInt. - negate_
carry ๐ - negate_
sign - Negates the sign of BigInt.
- powsign ๐
- Help function for pow
- shr_
round_ ๐down - twos_
complement ๐ - Perform in-place twoโs complement of the given digit iterator starting from the least significant byte.
- twos_
complement_ ๐be - Perform in-place twoโs complement of the given binary representation in big-endian byte order.
- twos_
complement_ ๐le - Perform in-place twoโs complement of the given binary representation, in little-endian byte order.