Dear all I will be thankfull if someone iform me how to calculate logarithm to base 2. ( Is there any function to compute the log for mpz_t number? ) Thanks in advance. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs