diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-04 11:07:14 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-04 11:07:14 +0200 |
commit | 550ff72727a1829bb72f5c40cffb96f2225fae84 (patch) | |
tree | 6fd6a2a2f15ad5ff15a12340205ceab2c3ad6414 /bigint.cpp | |
parent | d24ab714b958b9fece4631076e240739ad0dd23f (diff) |
More primes and primality testing
Diffstat (limited to 'bigint.cpp')
-rw-r--r-- | bigint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,9 +7,10 @@ using namespace std; +Bigint Bigint::mone(-1); Bigint Bigint::zero(0); Bigint Bigint::one(1); -Bigint Bigint::mone(-1); +Bigint Bigint::two(2); Bigint::Bigint() :sign(1){} |