Function lcm_i64

Source
pub fn lcm_i64(a: i64, b: i64) -> i64
Expand description

Calculate the least common multiple (LCM) for signed integers.

§Arguments

  • a: The first integer.
  • b: The second integer.

§Returns

  • An i32 representing the least common multiple of a and b.