BigInteger.GreatestCommonDivisor Method

Returns the greatest common divisor (GCD) of two BigInteger numbers.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static BigInteger GreatestCommonDivisor(
	BigInteger left,
	BigInteger right
)

Parameters

left  BigInteger
A BigInteger number.
right  BigInteger
A BigInteger number.

Return Value

BigInteger
The greatest common divisor of left and right.

See Also