mpz_div_2exp function

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


nisse at lysator.liu.se (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
functions...

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.

-- 
Torbjörn


More information about the gmp-bugs mailing list