num
0.1.42
In num::integer
Structs
ExtendedGcd
IterBinomial
Traits
Average
Integer
Roots
Functions
average_ceil
average_floor
binomial
cbrt
div_ceil
div_floor
div_mod_floor
div_rem
gcd
gcd_lcm
lcm
mod_floor
multinomial
nth_root
sqrt
?
Settings
Function
num
::
integer
::
div_rem
Copy item path
source
·
[
−
]
pub fn div_rem<T>(x: T, y: T) ->
(T, T)
where T:
Integer
,
Expand description
Simultaneous integer division and modulus