Int128Compare Method

Compares two 128-bit integers.

Definition

Namespace: Meta.Numerics.Extended
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static int Compare(
	Int128 x,
	Int128 y
)

Parameters

x  Int128
The first integer.
y  Int128
The second integer.

Return Value

Int32
1 if x is greater, -1 if y is greater, and 0 if x and y are equal.

See Also