int size(void|int base)
This function returns how long the mpz would be represented in the specified base . The default base is 2.