4 releases

0.1.0 Jul 25, 2019
0.0.3 Jul 23, 2019
0.0.2 Jul 23, 2019
0.0.1 Jul 22, 2019

#61 in #big-integer

MPL-2.0 license

18KB
189 lines

Nyar Prime Lib

All based on bigint, but some support both i32, i64 and bigint.

Fetmat Primes

is_fermat_prime

Check if an integer is a Fermat prime number.

Mersenne Prime

is_mersenne_prime

Primorial/PrimorialPi

( with shared global cache)

Dependencies

~3MB
~57K SLoC