Module bigint

Module bigint 

Source

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ยง

IntoBigInt
A generic trait for converting a value to a BigInt, consuming the value.
ToBigInt
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.