UInt128CompareTo Method

Compares the current instance to another unsigned 128-bit integer.

Definition

Namespace: Meta.Numerics.Extended
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public int CompareTo(
	UInt128 u
)

Parameters

u  UInt128
The other integer.

Return Value

Int32
1 if the current instance is greater, -1 if u is greater, and 0 if the current instance is equal to u.

Implements

IComparableTCompareTo(T)

See Also