Implement Baillie–PSW in the isPrime function?
liamappelbe opened this issue · comments
Liam Appelbe commented
Implement Baillie–PSW in the isPrime function?
Liam Appelbe commented
Actually Miller Rabin is probably sufficient since we're using 64 bit ints. https://oeis.org/A014233
But it would be interesting to benchmark both of these.