You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aha, ok. Quite unfortunate that it's yet another thing that requires effort compiling/integrating and such. I think for now I'll have to stick with MPIR because of time constraints.
I would like to be able to convert from mpz_t to mpf_t and back. How do I do that?
MPZ_T to MPF_T : mpf_set_z (WORKS)
MPF_T to MPZ_T : ?mpz_set_f? (DOESN'T WORK)
Why is there a mpf_set_z function but not mpz_get_f function?
Alternatively, why are there no mpf_get_z and mpz_get_f functions?
I guess I could convert the int/float to a string and then convert it to float/int, but that just seems ridiculously bad for performance.
The text was updated successfully, but these errors were encountered: