Kevin Ryde user42@zip.com.au
Tue, 05 Nov 2002 08:21:45 +1000

"Hatem  Bahig" <hatem@comp.metro-u.ac.jp> writes:
> Unfortunately, I tried to use this concept "cast", but I didn't sucess. 

mpf_get_d can be used for such a conversion.

> Is there a function to calculate log for floating nu.?

Not in gmp currently.  But mpfr has mpfr_log2 (and others), see