BigInteger.Gcd Method

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Computes the greatest common divisor.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public static BigInteger Gcd(
	BigInteger bn1,
	BigInteger bn2
)

Return Value

Type: Microsoft.SolverFoundation.Common.BigInteger
The largest integer that divides the two big integers without a remainder.

Show: