Function rdcl_aoc_helpers::math::lcm

source ·
pub fn lcm<T>(a: T, b: T) -> Twhere
    T: Copy + Eq + Mul<T, Output = T> + Div<T, Output = T> + Rem<T, Output = T> + Default,
Expand description

Computes the least common multiple of a and b.