BigIntegerStatic: GreatestCommonDivisor

GreatestCommonDivisor

Returns the greatest common divisor between the two BigInteger values.



 Public Function GreatestCommonDivisor(
	  ByVal x As BigInteger,
	  ByVal y As BigInteger ) As BigInteger

Parameters

x
[ByVal] BigInteger. One of the values to find the GCD of.
y
[ByVal] BigInteger. One of the values to find the GCD of.

Return Values

BigInteger -  Returns the GCD for two given values.

Remarks

Values of Nothing will be treated as zero.

See Also

Project VBCorLib Overview Class BigIntegerStatic Overview BigIntegerStatic Properties BigIntegerStatic Methods FlipBit Max