Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)JA
Posts 2
Comments 1

Machine-prime: Optimal primality for 64-bit integers

github.com GitHub - JASory/machine-prime: ne plus ultra primality testing for machine-sized integers

ne plus ultra primality testing for machine-sized integers - GitHub - JASory/machine-prime: ne plus ultra primality testing for machine-sized integers

GitHub - JASory/machine-prime: ne plus ultra primality testing for machine-sized 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.

0

Machine-prime: Optimal primality for 64-bit integers

github.com GitHub - JASory/machine-prime: ne plus ultra primality testing for machine-sized integers

ne plus ultra primality testing for machine-sized integers - GitHub - JASory/machine-prime: ne plus ultra primality testing for machine-sized integers

I originally wrote this a few months back, but I have done some work to let the algorithm be easily reproducible, as well as added some features to allow reduced memory (not-so-optimal) variants.

0