Skip to main content

div_ceil

Function div_ceil 

Source
pub fn div_ceil(dividend: i64, divisor: i64) -> i64
Expand description

Returns the mathematical ceiling of dividend / divisor.

ยงPanics

Panics when divisor is zero or when the exact quotient does not fit in i64.