mpz_sizeinbase() bug

Lebender, Johannes johannes.lebender at
Wed Aug 19 00:21:51 UTC 2020

Dear GMP maintainers,

i found a possible bug in the mpz_sizeinbase() function. e.g.
mpz_sizeinbase(63, 10) returns 2
mpz_sizeinbase(64, 10) returns 3

Attached to this mail you can find a detailed report with all 
informations needed as described in

Many thanks for maintaining this library!
best regards,
Johannes Lebender
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GMP_mpz_sizeinbase_bugreport.tar
Type: application/x-gzip
Size: 15631 bytes
Desc: not available
URL: <>

More information about the gmp-bugs mailing list