Home | History | Annotate | Download | only in mpz

Lines Matching refs:T2

1 /* mpz_stronglucas(n, t1, t2) -- An implementation of the strong Lucas
68 mpz_t T1, T2;
156 mpz_init (T2);
159 if (mpz_lucas_mod (V, Qk, Q, b0, n, T1, T2) == 0)
164 mpz_mul (T2, V, V);
165 mpz_submul_ui (T2, Qk, 2);
166 mpz_tdiv_r (V, T2, n);
170 mpz_mul (T2, Qk, Qk);
171 mpz_tdiv_r (Qk, T2, n);
175 mpz_clear (T2);