Java.Math.BigInteger.Gcd Method
Returns a BigInteger whose value is greatest common divisor of this and value.

Syntax

[Android.Runtime.Register("gcd", "(Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetGcd_Ljava_math_BigInteger_Handler")]
public virtual BigInteger Gcd (BigInteger val)

Parameters

value
value with which the greatest common divisor is computed.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif value == null.

Remarks

Returns a BigInteger whose value is greatest common divisor of this and value. If this == 0 and value == 0 then zero is returned, otherwise the result is positive.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1