Editare

Partajați prin


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.

 static System::Numerics::BigInteger System.Numerics.INumber<System.Numerics.BigInteger>.MaxNumber(System::Numerics::BigInteger x, System::Numerics::BigInteger y) = System::Numerics::INumber<System::Numerics::BigInteger>::MaxNumber;
static System.Numerics.BigInteger INumber<BigInteger>.MaxNumber (System.Numerics.BigInteger x, System.Numerics.BigInteger y);
static member System.Numerics.INumber<System.Numerics.BigInteger>.MaxNumber : System.Numerics.BigInteger * System.Numerics.BigInteger -> System.Numerics.BigInteger
 Shared Function MaxNumber (x As BigInteger, y As BigInteger) As BigInteger Implements INumber(Of BigInteger).MaxNumber

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