Rational.CompareTo Method (BigInteger)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Compares a rational number to a big integer.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
- Type: Microsoft.SolverFoundation.Common.BigInteger
A big integer value.
Return ValueType: System.Int32
A 32-bit signed integer that indicates how the rational number compares to the big integer. The return values are described in the following table.
Less than zero
This object is less than bn.
This object is equivalent to bn..
Greater than zero
This object is greater than bn.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.