UInt32.INumberBase<UInt32>.MaxMagnitudeNumber(UInt32, UInt32) 方法

定義

比較兩個值與具有更大大小的計算,如果輸入為 NaN ,則會傳回另一個值。

 static System::UInt32 System.Numerics.INumberBase<System.UInt32>.MaxMagnitudeNumber(System::UInt32 x, System::UInt32 y) = System::Numerics::INumberBase<System::UInt32>::MaxMagnitudeNumber;
static uint INumberBase<uint>.MaxMagnitudeNumber (uint x, uint y);
static member System.Numerics.INumberBase<System.UInt32>.MaxMagnitudeNumber : uint32 * uint32 -> uint32
 Shared Function MaxMagnitudeNumber (x As UInteger, y As UInteger) As UInteger Implements INumberBase(Of UInteger).MaxMagnitudeNumber

參數

x
UInt32

要與 y 比較的值。

y
UInt32

要與 x 比較的值。

傳回

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

實作

適用於