[][src]Function opencv::core::round_up

pub fn round_up(a: i32, b: u32) -> Result<i32>

Round first value up to the nearest multiple of second value.

Use this function instead of ceil((float)a / b) * b expressions.

See also

divUp