use eval loops and implicit conversion for defining gmp and mpfr methods