From 1dffae442cb35ab9daab39d33dbd5724d748aac3 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 13 Oct 2016 23:39:10 +0200 Subject: divmod: recursive -> iterative --- bigint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bigint.h') diff --git a/bigint.h b/bigint.h index cff7bd4..c66dcf6 100644 --- a/bigint.h +++ b/bigint.h @@ -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 divmod(const Bigint&,int depth,int maxdepth) const; //ignores all signs + static std::pair divmod(Bigint a,const Bigint &div,int maxdepth); //ignores all signs public: Bigint(); -- cgit v1.2.3-70-g09d2