Two questions on GMP library

Sarad AV esarad at
Mon May 21 18:26:00 CEST 2007


-Does GMP support any C library calls to find natural logarithms or
logartithms to the base 10.

-I  would like to convert an a mpz_t variable to a character string, so that
I can pass it as a string to another library like PARI on Zenfact. I am
unable to find a library call, that does it for me and I guess sscanf(), can
be used either. There is the mpz_set_str() but it does the reverse of what i
am looking for.

Thank you for your time,
Sarad AV
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the gmp-discuss mailing list