Function comlib_math::lcm[][src]

pub fn lcm<I: Integer>(a: I, b: I) -> I
Expand description

Computes the least common multiple of the given numbers.

The least common multiple of a and b is the smallest integer which is divisible by both a and b.