Primality by trial division: Difference between revisions
→Simple Version
Line 1,475:
bool isPrime1(T)(in T n) pure nothrow {
if (n == 2)
return true;
|
Line 1,475:
bool isPrime1(T)(in T n) pure nothrow {
if (n == 2)
return true;
|
edits