Big Rational.Max Magnitude 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#
x if it has a greater magnitude than y; otherwise, y.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static BigRational MaxMagnitude(
BigRational x,
BigRational y
)
Parameters
- x BigRational
- The value to compare with y.
- y BigRational
- The value to compare with x.
Return Value
BigRationalx if it has a greater magnitude than y; otherwise, y.