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

Definition

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

 static long System.Numerics.INumberBase<System.Int64>.MaxMagnitudeNumber(long x, long y) = System::Numerics::INumberBase<long>::MaxMagnitudeNumber;
static long INumberBase<long>.MaxMagnitudeNumber (long x, long y);
static member System.Numerics.INumberBase<System.Int64>.MaxMagnitudeNumber : int64 * int64 -> int64
 Shared Function MaxMagnitudeNumber (x As Long, y As Long) As Long Implements INumberBase(Of Long).MaxMagnitudeNumber

Parameters

x
Int64

The value to compare with y.

y
Int64

The value to compare with x.

Returns

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

Implements

Applies to