get_str_gmp#
Return the string representation of $x in the given base.
Synopsis#
my $x = Math::GMP->new(3 * 7 + 2 * 7**2 + 6 * 7**3);
print $x->get_str_gmp(7); # "6230"
print $x->get_str_gmp(16); # hex
Base is 2–36 for lowercase digits or -2 through -36 for
uppercase, matching libgmp’s mpz_get_str convention.