[This is preliminary documentation and is subject to change.]

Compares two BigInts.

Namespace:  BigNum
Assembly:  BigNum (in BigNum)
Version: 1.0.0.0

Syntax

C#
public int CompareTo(
	BigInt other
)
Visual Basic (Declaration)
Public Function CompareTo ( _
	other As BigInt _
) As Integer
Visual C++
public:
virtual int CompareTo(
	BigInt^ other
) sealed

Parameters

other
Type: BigNum..::.BigInt
The BigInt to compare to.

Return Value

A number less than zero if this BigInt is smaller than the other, zero if they are equal, and a number greater than zero otherwise.

Implements

IComparable<(Of <(T>)>)..::.CompareTo(T)

See Also