Module math_utilities

Source

Functionsยง

get_bit_width_from
Returns the minimum bit width needed to represents n states with zero inclusive. Panics otherwise. Note: To represent the number n, you need to represent n+1 states.