Compares two 128-bit integers.
Namespace:
Meta.Numerics.Extended
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static int Compare(
Int128 x,
Int128 y
)
Public Shared Function Compare (
x As Int128,
y As Int128
) As Integer
public:
static int Compare(
Int128 x,
Int128 y
)
static member Compare :
x : Int128 *
y : Int128 -> int
Parameters
- x
- Type: Meta.Numerics.ExtendedInt128
The first integer. - y
- Type: Meta.Numerics.ExtendedInt128
The second integer.
Return Value
Type:
Int321 if
x is greater, -1 if
y is greater,
and 0 if
x and
y are equal.
See Also