Jason Quinn <jason.lee.quinn at gmail.com> writes: What is the intended behaviour of mpz_root when its second argument is negative? When the result cannot be stored, the results are in general undefined. (We do not attempt to support gaussian integers in mpz.) -- Torbjörn Please encrypt, key id 0xC8601622