IntPtr.INumber<IntPtr>.MinNumber(IntPtr, IntPtr) Method

Definition

Compares two values to compute which is lesser and returning the other value if an input is NaN.

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

Parameters

x
IntPtr

nativeint

The value to compare with y.

y
IntPtr

nativeint

The value to compare with x.

Returns

IntPtr

nativeint

x if it is less than y; otherwise, y.

Implements

Applies to