Francesco Biscani <bluescarni at gmail.com> writes: I am experiencing an assertion failure in mpz_divexact() using the latest GMP from the unstable branch. I am attaching a test program exhibiting the issue. Thanks for the bug report! This bug is now fixed in the main GMP repo. -- Torbjörn Please encrypt, key id 0xC8601622