From abaf69fa91962c2e9c892dbfe2072b71aa71d6b2 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)> Date: Sat, 13 Feb 2010 23:06:29 +0000 Subject: [PATCH] Removed more refs to nthroot. --- Makefile.am | 2 +- Makefile.in | 2 +- tests/mpz/reuse.c | 10 ---------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Makefile.am b/Makefile.am index 665b3692..265b17fa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/Makefile.in b/Makefile.in index dd10d66b..8df11ebe 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 \ diff --git a/tests/mpz/reuse.c b/tests/mpz/reuse.c index 0523dda3..6014aa82 100644 --- a/tests/mpz/reuse.c +++ b/tests/mpz/reuse.c @@ -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);