IntPtr.INumberBase<IntPtr>.MinMagnitudeNumber(IntPtr, IntPtr) Method

Definition

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

C#
static IntPtr INumberBase<IntPtr>.MinMagnitudeNumber(IntPtr x, IntPtr y);

Parameters

x
IntPtr

The value to compare with y.

y
IntPtr

The value to compare with x.

Returns

IntPtr

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

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10