SByte.INumber<SByte>.MaxNumber(SByte, SByte) 方法

定義

比較兩個值與計算,如果輸入為 NaN ,則會傳回另一個值。

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

參數

x
SByte

要與 y 比較的值。

y
SByte

要與 x 比較的值。

傳回

x 如果大於 y ,則為 ,否則為 y

實作

適用於