UInt128Compare Method

Compares two unsigned 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(
	UInt128 x,
	UInt128 y
)

Parameters

x  UInt128
The first integer.
y  UInt128
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