Behavior of mpz_root with negative op argument

Torbjörn Granlund tg at
Sun Jan 17 12:16:42 UTC 2016

Jason Quinn <jason.lee.quinn at> 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.)

Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list