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

定義

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

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

參數

x
UIntPtr

unativeint

要與 y 比較的值。

y
UIntPtr

unativeint

要與 x 比較的值。

傳回

UIntPtr

unativeint

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

實作

適用於