Function arrow::util::bit_util::round_upto_power_of_2[][src]

pub fn round_upto_power_of_2(num: usize, factor: usize) -> usize
Expand description

Returns the nearest multiple of factor that is >= than num. Here factor must be a power of 2.