Edit

Share via


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.

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

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