string digits(void|int(2..36)|int(256..256) base)
Convert this mpz object to a string. If a base is given the number will be represented in that base. Valid bases are 2-36 and 256. The default base is 10.
cast_to_string