Bewerken

Share via


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

Definition

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

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

Parameters

x
UInt128

The value to compare with y.

y
UInt128

The value to compare with x.

Returns

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

Implements

Applies to