Int16.INumberBase<Int16>.MaxMagnitudeNumber(Int16, Int16) Metoda

Definice

Porovná dvě hodnoty s výpočtem, který má větší velikost, a vrátí druhou hodnotu, pokud je NaNvstup .

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

Parametry

x
Int16

Hodnota, která se má porovnat s y.

y
Int16

Hodnota, která se má porovnat s x.

Návraty

xpokud je větší než y; v opačném případě . y

Implementuje

Platí pro