mpz_probab_prime_p(n, reps) : how long?

Torbjorn Granlund tege at swox.com
Thu Mar 10 16:08:58 CET 2005


"jojo 29" <jojo29118 at hotmail.com> writes:

  A last precision : the complexity of GMP's Miller-Rabin implementation is
  "O(n^(2*log(n)))" or "O((n^2)*log(n))"?

The latter.

-- 
Torbjörn


More information about the gmp-discuss mailing list