Function symcode::math::num_bits_to_store[][src]

pub fn num_bits_to_store(n: usize) -> usize

Returns the minimum number of bits needed to store n elements