BigInteger.MaxMagnitude Method

Compares two values to compute which has the greater magnitude.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
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

BigInteger
x if it has a greater magnitude than y; otherwise, y.

Implements

INumberBase<TSelf>.MaxMagnitude(TSelf, TSelf)

See Also