Big Integer.Greatest Common Divisor Method
Returns the greatest common divisor (GCD) of two BigInteger numbers.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The greatest common divisor of left and right.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static BigInteger GreatestCommonDivisor(
BigInteger left,
BigInteger right
)
Parameters
- left BigInteger
- A BigInteger number.
- right BigInteger
- A BigInteger number.
Return Value
BigIntegerThe greatest common divisor of left and right.