[MPFR] Fwd: MPFR to MPF conversion
Paul.Zimmermann at loria.fr
Sun Sep 4 22:02:37 CEST 2005
I note that MPFR provides a method to convert an mpf_t to an mpfr_t
But I can't find an inverse method, and since mpf_get_str seems to
return garbage when I pass it an mpfr_t, that suggests the internal
format isn't compatible.
the cvs version of mpfr contains a mpfr_get_f function, that should do
what you want.
More information about the gmp-discuss