UIntPtr.INumberBase<UIntPtr>.MinMagnitude(UIntPtr, UIntPtr) Method

Definition

Compares two values to compute which is lesser.

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

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