mpz_div_2exp function

Torbjorn Granlund tg at
Mon Jun 24 21:34:11 CEST 2013

nisse at (Niels Möller) writes:

  Not sure if this makes the GMP behaviour more or less confusing...
At least the GMP behaviour is well-defined when one uses documented

Let's not get confused and assume mpz_div_2exp is a documented function;
it exists for backward compatibility but has no well-defined semantics
outside of that role.


More information about the gmp-bugs mailing list