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

Definicja

Porównuje dwie wartości do obliczeń, które mają większą wielkość i zwracają drugą wartość, jeśli dane wejściowe to NaN.

 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

Wartość, która ma być porównywana z wartością y.

y
Int16

Wartość, która ma być porównywana z wartością x.

Zwraca

xjeśli jest większa niż y; w przeciwnym razie . y

Implementuje

Dotyczy