Converting mpz_t to mpf_t

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


Hello,

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...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20060626/366353b4/attachment.html


More information about the gmp-discuss mailing list