Home
last modified time | relevance | path

Searched refs:TestIsPrime (Results 1 – 3 of 3) sorted by relevance

/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/
H A DNumTheory-factor.C376 const long TestIsPrime = (LogN>1000)?1000000:LogN*LogN; in IsSqFree() local
394 if (counter == TestIsPrime && IsProbPrime(n)) in IsSqFree()
402 if (counter < TestIsPrime && IsProbPrime(n)) return true; in IsSqFree()
419 const long TestIsPrime = (LogN>1000)?1000000:LogN*LogN; in IsSqFree() local
438 if (counter == TestIsPrime && IsProbPrime(N)) in IsSqFree()
447 if (counter < TestIsPrime && IsProbPrime(N)) return true3; in IsSqFree()
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/
H A DNumTheory-factor.C461 const long TestIsPrime = (LogN>1000)?1000000:LogN*LogN; in IsSqFree() local
479 if (counter == TestIsPrime && IsProbPrime(n)) in IsSqFree()
487 if (counter < TestIsPrime && IsProbPrime(n)) return true; in IsSqFree()
504 const long TestIsPrime = (LogN>1000)?1000000:LogN*LogN; in IsSqFree() local
523 if (counter == TestIsPrime && IsProbPrime(N)) in IsSqFree()
532 if (counter < TestIsPrime && IsProbPrime(N)) return true3; in IsSqFree()
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/cznic/mathutil/
H A Dall_test.go528 func TestIsPrime(t *testing.T) { func