BigInteger.INumberBase<BigInteger>.MaxMagnitudeNumber Method

Definition

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

C#
static System.Numerics.BigInteger INumberBase<BigInteger>.MaxMagnitudeNumber(System.Numerics.BigInteger x, System.Numerics.BigInteger y);

Parameters

x
BigInteger

The value to compare with y.

y
BigInteger

The value to compare with x.

Returns

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

Implements

Applies to

Product Versions
.NET 7, 8, 9