Bewerken

Delen via


Int128.INumberBase<Int128>.MaxMagnitudeNumber(Int128, Int128) Method

Definition

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

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

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