Bewerken

Share via


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

Definition

Compares two values to compute which is greater.

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

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