Int16.INumber<Int16>.MaxNumber(Int16, Int16) Metoda

Definicja

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

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

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