Module convert

Source

Macrosยง

impl_biguint_from_uint ๐Ÿ”’
impl_biguint_try_from_int ๐Ÿ”’
impl_to_biguint ๐Ÿ”’
impl_try_from_biguint ๐Ÿ”’

Functionsยง

fls ๐Ÿ”’
Find last set bit fls(0) == 0, fls(u32::MAX) == 32
from_bitwise_digits_le ๐Ÿ”’
from_inexact_bitwise_digits_le ๐Ÿ”’
from_radix_be ๐Ÿ”’
from_radix_digits_be ๐Ÿ”’
from_radix_le ๐Ÿ”’
generate_radix_bases ๐Ÿ”’
Generate tables of the greatest power of each radix that is less that the given maximum. These are returned from get_radix_base to batch the multiplication/division of radix conversions on full BigUint values, operating on primitive integers as much as possible.
get_half_radix_base ๐Ÿ”’
Returns the greatest power of the radix for half the BigDigit bit size
get_radix_base ๐Ÿ”’
Returns the greatest power of the radix for the BigDigit bit size
high_bits_to_u64 ๐Ÿ”’
ilog2 ๐Ÿ”’
to_bitwise_digits_le ๐Ÿ”’
to_inexact_bitwise_digits_le ๐Ÿ”’
to_radix_digits_le ๐Ÿ”’
to_radix_le ๐Ÿ”’
to_str_radix_reversed ๐Ÿ”’