diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-13 23:39:10 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-13 23:39:10 +0200 |
commit | 1dffae442cb35ab9daab39d33dbd5724d748aac3 (patch) | |
tree | 727f5d5be77594da8bd1ea49be8d8e88c65d2100 /bigint.h | |
parent | 0f0fa69c8d5fec8c7507e27ba8f618018db1ee78 (diff) |
divmod: recursive -> iterative
Diffstat (limited to 'bigint.h')
-rw-r--r-- | bigint.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ private: //basically a debug check, but it can't hurt to have it since it takes few cpu cycles. void checkconsistent(); - std::pair<Bigint,Bigint> divmod(const Bigint&,int depth,int maxdepth) const; //ignores all signs + static std::pair<Bigint,Bigint> divmod(Bigint a,const Bigint &div,int maxdepth); //ignores all signs public: Bigint(); |