BigInteger.Compare Method

Compares two numbers.

Definition

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

Parameters

left  BigInteger
A BigInteger.
right  BigInteger
A BigInteger.

Return Value

Int32
-1 if left is less than right; +1 if left is larger than right; 0 if left equals right.

See Also