Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmyrs.org
programming·Programmingbyjasory

Machine-prime: Optimal primality for 64-bit integers

cross-posted from: https://lemmyrs.org/post/29094 Machine-prime is an attempt at making the optimal primality test that can be used on many platforms and called in many languages. It is written in Rust, however bindings are provided for C, C++, Fortran, Python, and Julia. I welcome any further bindings which are fairly easy to write due to the simple api. I also welcome anyone who can write a faster algorithm, only a slightly harder problem.

https://github.com/JASory/machine-primeOpen linkView original on lemmyrs.org
14

No replies yet

No comments on the original post yet.
Machine-prime: Optimal primality for 64-bit integers | Spyke