mp_rational: partial,evaluate and subs implementation.