lcm

Least common multiple

  1. BigInt lcm(const(BigInt)* a, const(BigInt)* b)
    static if(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
    lcm
    (
    const(BigInt)* a
    ,
    const(BigInt)* b
    )
  2. BigInt lcm(const(BigInt) a, const(BigInt) b)

Parameters

a const(BigInt)*

a positive integer x

b const(BigInt)*

a positive integer y

Return Value

Type: BigInt

z, smallest integer such that z % x == 0 and z % y == 0

Meta