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

定義

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

 static System::UInt16 System.Numerics.INumberBase<System.UInt16>.MaxMagnitudeNumber(System::UInt16 x, System::UInt16 y) = System::Numerics::INumberBase<System::UInt16>::MaxMagnitudeNumber;
static ushort INumberBase<ushort>.MaxMagnitudeNumber (ushort x, ushort y);
static member System.Numerics.INumberBase<System.UInt16>.MaxMagnitudeNumber : uint16 * uint16 -> uint16
 Shared Function MaxMagnitudeNumber (x As UShort, y As UShort) As UShort Implements INumberBase(Of UShort).MaxMagnitudeNumber

參數

x
UInt16

要與 y 比較的值。

y
UInt16

要與 x 比較的值。

傳回

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

實作

適用於