Bewerken

Delen via


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

Definition

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

 static System::UInt64 System.Numerics.INumberBase<System.UInt64>.MaxMagnitudeNumber(System::UInt64 x, System::UInt64 y) = System::Numerics::INumberBase<System::UInt64>::MaxMagnitudeNumber;
static ulong INumberBase<ulong>.MaxMagnitudeNumber (ulong x, ulong y);
static member System.Numerics.INumberBase<System.UInt64>.MaxMagnitudeNumber : uint64 * uint64 -> uint64
 Shared Function MaxMagnitudeNumber (x As ULong, y As ULong) As ULong Implements INumberBase(Of ULong).MaxMagnitudeNumber

Parameters

x
UInt64

The value to compare with y.

y
UInt64

The value to compare with x.

Returns

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

Implements

Applies to