AdvancedIntegerMathLCM Method

Computes the least common multiple of two integers.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static long LCM(
	long u,
	long v
)

Parameters

u  Int64
The first integer.
v  Int64
The second integer.

Return Value

Int64
The least common multiple of u and v.

See Also