Edit

Share via


Int128.INumber<Int128>.MaxNumber(Int128, Int128) Method

Definition

Compares two values to compute which is greater and returning the other value if an input is NaN.

 static Int128 System.Numerics.INumber<System.Int128>.MaxNumber(Int128 x, Int128 y) = System::Numerics::INumber<Int128>::MaxNumber;
static Int128 INumber<Int128>.MaxNumber (Int128 x, Int128 y);
static member System.Numerics.INumber<System.Int128>.MaxNumber : Int128 * Int128 -> Int128
 Shared Function MaxNumber (x As Int128, y As Int128) As Int128 Implements INumber(Of Int128).MaxNumber

Parameters

x
Int128

The value to compare with y.

y
Int128

The value to compare with x.

Returns

x if it is greater than y; otherwise, y.

Implements

Applies to