add isqrt (integer sqrt), use it to improve factor() (#3035)
export primes
Merge branch 'master' of github.com:JuliaLang/julia