Function num::integer::gcd
[−]
[src]
pub fn gcd<T: Integer>(x: T, y: T) -> T
Calculates the Greatest Common Divisor (GCD) of the number and other
. The
result is always positive.
pub fn gcd<T: Integer>(x: T, y: T) -> T
Calculates the Greatest Common Divisor (GCD) of the number and other
. The
result is always positive.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).