Searched refs:TestIsPrime (Results 1 – 3 of 3) sorted by relevance
376 const long TestIsPrime = (LogN>1000)?1000000:LogN*LogN; in IsSqFree() local394 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() local438 if (counter == TestIsPrime && IsProbPrime(N)) in IsSqFree()447 if (counter < TestIsPrime && IsProbPrime(N)) return true3; in IsSqFree()
461 const long TestIsPrime = (LogN>1000)?1000000:LogN*LogN; in IsSqFree() local479 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() local523 if (counter == TestIsPrime && IsProbPrime(N)) in IsSqFree()532 if (counter < TestIsPrime && IsProbPrime(N)) return true3; in IsSqFree()
528 func TestIsPrime(t *testing.T) { func