diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-05 21:18:19 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-05 21:18:19 +0200 |
commit | 8e7f8300f82f9d93f94813cd717bf2943e5ad07a (patch) | |
tree | 4da4501f82b4931a7ee11662ac918c404133180a /primes.cpp | |
parent | 62dab77c1769c398dfb3f0a6968e35f63869e7e5 (diff) |
Now division ACTUALLY works
Diffstat (limited to 'primes.cpp')
-rw-r--r-- | primes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,7 +154,7 @@ bool strongLucasPrime(const Bigint &n){ // cerr<<"ok"<<endl; //now begin the actual sequence algorithm -#if 0 +#if 1 int s=0; Bigint d(n); d+=1; @@ -198,7 +198,7 @@ bool strongLucasPrime(const Bigint &n){ } } if(U==0)return true; -#if 0 +#if 1 if(V==0)return true; //r=0 check for(int r=1;r<s;r++){ V*=V; |