Big Integer.Compare To Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Compare | Compares a number to another number. |
Compare | Compares a number to another number. |
Compare | Compares a number to another number. |
CompareTo(BigInteger)
Compares a number to another number.
public int CompareTo(
BigInteger other
)
Parameters
- other BigInteger
- A BigInteger.
Return Value
Int32-1 if this number is less than other; +1 if this number is larger than other; 0 if this number equals other.
Implements
IComparable<T>.CompareTo(T)CompareTo(Int32)
Compares a number to another number.
public int CompareTo(
int other
)
Parameters
- other Int32
- An integer.
Return Value
Int32-1 if this number is less than other; +1 if this number is larger than other; 0 if this number equals other.
Implements
IComparable<T>.CompareTo(T)CompareTo(Int64)
Compares a number to another number.
public int CompareTo(
long other
)
Parameters
- other Int64
- A long integer.
Return Value
Int32-1 if this number is less than other; +1 if this number is larger than other; 0 if this number equals other.