halo2_base::utils

Function bit_length

Source
pub const fn bit_length(x: u64) -> usize
Expand description

Returns the number of bits needed to represent the value of x.