A2.APR: Arithmetic with Polynomials and Rational Expressions