Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
|
#include <primes_basic.h>
Public Types | |
typedef long long int | BaseType |
Static Public Member Functions | |
static bool | isPrime (BaseType p) |
Primality testing using trial division up to square root
typedef long long int math::primes::PrimesBasic::BaseType |
Basic type for all computations
static bool math::primes::PrimesBasic::isPrime | ( | BaseType | p | ) | [inline, static] |
Checks whether a number is a prime number.
p | number to test |