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

定義

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

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

參數

x
UInt128

要與 y 比較的值。

y
UInt128

要與 x 比較的值。

傳回

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

實作

適用於