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.

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

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

Proizvod Verzije
.NET 7, 8, 9, 10