Function rayon::math::div_round_up

source ·
pub(crate) fn div_round_up(n: usize, divisor: usize) -> usize
Expand description

Divide n by divisor, and round up to the nearest integer if not evenly divisible.