mpz_sizeinbase() bug

Torbjörn Granlund tg at gmplib.org
Wed Aug 19 08:20:23 UTC 2020


"Lebender, Johannes" <johannes.lebender at fau.de> writes:

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

Why do you think those values are wrong?  Which values do you expect
instead?

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list