IntPtr.INumber<IntPtr>.MaxNumber(IntPtr, IntPtr) メソッド

定義

2 つの値を比較して、より大きい値を計算し、入力が NaN場合はもう一方の値を返します。

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

パラメーター

x
IntPtr

nativeint

yと比較する値。

y
IntPtr

nativeint

xと比較する値。

返品

IntPtr

nativeint

x yより大きい場合は、それ以外の場合はy

実装

適用対象