prim This is a C++11 implementation of Miller-Rabin primality test. Also can serve as a simple arbitrary precision integer arithmetic library.