I am using GMP, and I want to be able to quickly convert an mpz to an mpf. I looked through the library and couldn\'t find much. The best thing I could think of was this: