Function std::uint::div_ceil

pub fn div_ceil(x: uint, y: uint) -> uint

Divide two numbers, return the result, rounded up.

Arguments

Return value

The smallest integer q such that x/y <= q.