Rediger

Del via


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

Definition

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

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

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 greater than y; otherwise, y.

Implements

Applies to