mpz_sizeinbase

Kevin Ryde user42@zip.com.au
Sat, 09 Nov 2002 06:57:07 +1000


Minh Nguyen <md6nguyen@yahoo.com> writes:
>
> If it is fast, is there any reason not to put it in mpz_sizeinbase?

For mpz_get_str (which is where mpz_sizeinbase started) the current
situation is adequate, it makes a pass over the result digits to
convert to ascii and moves them down by one byte at the same time if
that's necessary.