Converting mpz_t to mpf_t

Mehrnoush Rahmani mehrnoush.rahmani at
Mon Jun 26 19:54:57 CEST 2006


I'm currently working with the GMP-library in C in order to calculate large and very small numbers. I calculated a value of type mpz_t and another one of type mpf_t. I need to multiply these two values. Since there is no GMP-function to multiply these two data types, I thought of converting the mpz_t into the mpf_t, as it is very common in C. Unfortunately, I couldn't find any way to do this in the manual. 
Is there anyone who could help me? 

I would really appreciate your support.

Best regards,

Mehrnoush Rahmani
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the gmp-discuss mailing list