Function round_upto_power_of_2
pub fn round_upto_power_of_2(num: usize, factor: usize) -> usizeExpand description
Returns the nearest multiple of factor that is >= than num. Here factor must
be a power of 2.
ยงPanics
Panics if rounding num up overflows usize