add set_d and set_f methods to Mpq