Category talk:Wren-gmp: Difference between revisions

Content added Content deleted
m (→‎Source code (Wren): Removed a duplicated program comment.)
Line 547: Line 547:


// Returns a list of the primes factors (Mpz) of 'm' (an Mpz object or an integral Num)
// Returns a list of the primes factors (Mpz) of 'm' (an Mpz object or an integral Num)
// using the wheel based factorization and/or Pollard's Rho algorithm as appropriate.
// using the wheel based factorization and/or Pollard's Rho algorithm as appropriate.
// Pollard's Rho algorithm.
static primeFactors(m) {
static primeFactors(m) {
if (m < 2) return []
if (m < 2) return []