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

Definition

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

C#
static long INumberBase<long>.MinMagnitudeNumber(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 less than y; otherwise, y.

Implements

Applies to

Product Versions
.NET 7, 8, 9