Compares this instance to a specified rational number and returns an indication of
their relative values.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public int CompareTo(
BigInteger other
)
Public Function CompareTo (
other As BigInteger
) As Integer
public:
virtual int CompareTo(
BigInteger other
) sealed
abstract CompareTo :
other : BigInteger -> int
override CompareTo :
other : BigInteger -> int
Parameters
- other
- Type: Extreme.MathematicsBigInteger
A BigInteger number to compare to this instance.
Return Value
Type:
Int32A signed integer that indicates the relative values of this instance and
other.
Return Value | Description |
---|
Less than zero | This instance is smaller than other. |
Zero | This instance is equal to other. |
Greater than zero | This instance is greater than other. |
Implements
IComparableTCompareTo(T)
Reference