Removed more refs to nthroot.
This commit is contained in:
parent
7ae0cb1c5d
commit
abaf69fa91
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user