num
0.4.3
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
num
::
integer
Function
div_rem
Copy item path
Settings
Help
Summary
Source
pub fn div_rem<T>(x: T, y: T) ->
(T, T)
where T:
Integer
,
Expand description
Simultaneous integer division and modulus