[][src]Function intspector::min_bits

pub fn min_bits(value: i64) -> u32

Returns the minimum number of bits required to represent the integer. For positive input, gives the number of unsigned bits. For negative input, gives the number of two's complement bits.