Removed more refs to nthroot.

This commit is contained in:
(no author) 2010-02-13 23:06:29 +00:00
parent 7ae0cb1c5d
commit abaf69fa91
3 changed files with 2 additions and 12 deletions

View File

@ -185,7 +185,7 @@ MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \
mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \
mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_ui$U.lo \
mpz/pprime_p$U.lo mpz/next_likely_prime$U.lo mpz/nthroot$U.lo \
mpz/pprime_p$U.lo mpz/next_likely_prime$U.lo \
mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo \
mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \
mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \

View File

@ -490,7 +490,7 @@ MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \
mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \
mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_ui$U.lo \
mpz/pprime_p$U.lo mpz/next_likely_prime$U.lo mpz/nthroot$U.lo \
mpz/pprime_p$U.lo mpz/next_likely_prime$U.lo \
mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo \
mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \
mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \

View File

@ -390,16 +390,6 @@ main (int argc, char **argv)
FAIL2 (mpz_root, in1, in2, NULL);
}
if (mpz_sgn (in1) >= 0)
{
mpz_nthroot (ref1, in1, in2i % 0x1000 + 1);
mpz_set (res1, in1);
mpz_nthroot (res1, res1, in2i % 0x1000 + 1);
if (mpz_cmp (ref1, res1) != 0)
FAIL2 (mpz_nthroot, in1, in2, NULL);
}
if (mpz_sgn (in1) >= 0)
{
mpz_rootrem (ref1, ref2, in1, in2i % 0x1000 + 1);