Module int_log10

Source
Expand description

These functions compute the integer logarithm of their type, assuming that someone has already checked that the value is strictly positive.

Functionsยง

i8 ๐Ÿ”’
i16 ๐Ÿ”’
i32 ๐Ÿ”’
i64 ๐Ÿ”’
i128 ๐Ÿ”’
less_than_5 ๐Ÿ”’
panic_for_nonpositive_argument ๐Ÿ”’
Instantiate this panic logic once, rather than for all the ilog methods on every single primitive type.
u8 ๐Ÿ”’
u16 ๐Ÿ”’
u32 ๐Ÿ”’
u64 ๐Ÿ”’
u128 ๐Ÿ”’
usize ๐Ÿ”’