MPFR to MPF conversion
mathimagics at yahoo.co.uk
Sun Sep 4 18:38:40 CEST 2005
I note that MPFR provides a method to convert an mpf_t to an mpfr_t (mpfr_set_f).
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.
It would be nice to be able to work in MPF mode, but be able to convert to and from MPFR to get access to its function library, for example.
Am I overlooking something obvious here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gmp-discuss