UIntPtr.INumberBase<UIntPtr>.MaxMagnitudeNumber Method

Definition

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

C#
static UIntPtr INumberBase<UIntPtr>.MaxMagnitudeNumber(UIntPtr x, UIntPtr y);

Parameters

x
UIntPtr

The value to compare with y.

y
UIntPtr

The value to compare with x.

Returns

UIntPtr

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

Implements

Applies to

Product Versions
.NET 7, 8, 9