Exact conversion from native double to mpf_t

Andrea Monaco andrea.monaco at autistici.org
Sat Nov 25 16:24:59 CET 2023

Does mpf_set_d perform an exact conversion from native double to mpf_t,
with no rounding?  I suspect that it does, but the manual doesn't say.
Also, the manual groups that function with others that I suspect are not
exact, like mpf_set_q.

If my conjectures are correct, I think updating the manual would be

Andrea Monaco

More information about the gmp-discuss mailing list