Skip to main content

div_floor

Function div_floor 

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

Returns the mathematical floor of dividend / divisor.

ยงPanics

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