Big Integer.Max Magnitude Method
Compares two values to compute which is greater.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
x if it is greater than y; otherwise, y.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static BigInteger MaxMagnitude(
BigInteger x,
BigInteger y
)
Parameters
- x BigInteger
- The value to compare with y.
- y BigInteger
- The value to compare with x.
Return Value
BigIntegerx if it is greater than y; otherwise, y.