Redigera

Dela via


UIntPtr.INumberBase<UIntPtr>.MinMagnitudeNumber Method

Definition

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

 static UIntPtr System.Numerics.INumberBase<nuint>.MinMagnitudeNumber(UIntPtr x, UIntPtr y) = System::Numerics::INumberBase<UIntPtr>::MinMagnitudeNumber;
static UIntPtr INumberBase<UIntPtr>.MinMagnitudeNumber (UIntPtr x, UIntPtr y);
static member System.Numerics.INumberBase<nuint>.MinMagnitudeNumber : unativeint * unativeint -> unativeint
 Shared Function MinMagnitudeNumber (x As UIntPtr, y As UIntPtr) As UIntPtr Implements INumberBase(Of UIntPtr).MinMagnitudeNumber

Parameters

x
UIntPtr

unativeint

The value to compare with y.

y
UIntPtr

unativeint

The value to compare with x.

Returns

UIntPtr

unativeint

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

Implements

Applies to