Float assignment and conversion to float

Gilles Rayrat gilles.rayrat at continuent.com
Tue Mar 7 19:14:24 CET 2006

(in case of double post, sorry, issue with mailer)

Hi all,
First of all I want to say that this lib is just great. Good doc, good
api, "bravo" !

But I have two questions about mpfs: I have a mantissa 'm' and a scale
's', both mpz.  and I want to create a mpf_t 'f' from these like
Is there a simple way to do that ?
2nd question, from this mpf_t, I'd like to have it converted to a float
C type. I've seen the get_d() function, but nothing for floats. Any idea
Thanks a lots.

More information about the gmp-discuss mailing list