BigInteger.INumber<BigInteger>.MaxNumber(BigInteger, BigInteger) Method

Definition

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

C#
static System.Numerics.BigInteger INumber<BigInteger>.MaxNumber (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