aboutsummaryrefslogtreecommitdiff
path: root/bigint.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-04 11:07:14 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-04 11:07:14 +0200
commit550ff72727a1829bb72f5c40cffb96f2225fae84 (patch)
tree6fd6a2a2f15ad5ff15a12340205ceab2c3ad6414 /bigint.h
parentd24ab714b958b9fece4631076e240739ad0dd23f (diff)
More primes and primality testing
Diffstat (limited to 'bigint.h')
-rw-r--r--bigint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bigint.h b/bigint.h
index 213bf5c..76f5415 100644
--- a/bigint.h
+++ b/bigint.h
@@ -89,9 +89,10 @@ public:
digit_t _digit(int idx) const;
+ static Bigint mone;
static Bigint zero;
static Bigint one;
- static Bigint mone;
+ static Bigint two;
};
std::istream& operator>>(std::istream&,Bigint&);