All Implemented Interfaces:
FieldI, IntegerConvertor, Serializable

public class RationalField extends GenericPowerField<Rational>
A field which works with unlimited precision rational numbers, represented as the quotient of two BigIntegers.

Note if using Rational numbers with the PrintVisitor a special rule RationalDivisionPrintRule is needed to ensure divisions are correctly printed. This can be added with

 jep.getPrintVisitor().addSpecialRule(jep.getOperatorTable().getDivide(), new RationalDivisionPrintRule());
 
See Also: