ceil_log2

Function ceil_log2 

Source
pub fn ceil_log2(d: usize) -> usize
Expand description

Returns ceil(log2(d)) but panics if d = 0.