aboutsummaryrefslogtreecommitdiff
path: root/bigint.cpp
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-14 07:36:53 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-14 15:25:14 +0200
commit519765407150892e2e57929d4c00fc5ea7840529 (patch)
tree8efc8cd66ac48d4def4680cc7099ffd3a9636319 /bigint.cpp
parent1dffae442cb35ab9daab39d33dbd5724d748aac3 (diff)
Remove mention of bigint testing python script
Diffstat (limited to 'bigint.cpp')
-rw-r--r--bigint.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bigint.cpp b/bigint.cpp
index e57752f..0d2a72b 100644
--- a/bigint.cpp
+++ b/bigint.cpp
@@ -347,7 +347,6 @@ pair<Bigint,Bigint> Bigint::divmod(const Bigint &div) const {
pair<Bigint,Bigint> p=divmod(*this,div,bitcdiff/29+10); //ignores all signs
/* To let the result come out correctly, we apply case analysis to the signs of the arguments.
* As a guiding example, these two cases can be examined.
- * The code was tested with many large random numbers (also negative), using a Python script.
* (1) 4 = 1* 3 + 1 6 = 2* 3 + 0
* (2) 4 = -1*-3 + 1 6 = -2*-3 + 0
* (3) -4 = -2* 3 + 2 -6 = -2* 3 + 0