num::integer

Function div_mod_floor

Source
pub fn div_mod_floor<T>(x: T, y: T) -> (T, T)
where T: Integer,
Expand description

Simultaneous floored integer division and modulus