From 550ff72727a1829bb72f5c40cffb96f2225fae84 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 4 Oct 2016 11:07:14 +0200 Subject: More primes and primality testing --- bigint.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bigint.cpp') diff --git a/bigint.cpp b/bigint.cpp index 644ffb3..21c4ab2 100644 --- a/bigint.cpp +++ b/bigint.cpp @@ -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){} -- cgit v1.2.3-70-g09d2