mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-18 06:14:07 +00:00
debug line removed in bignum::randomized_div
This commit is contained in:
parent
248eecf960
commit
63a770ba3b
2
util.cpp
2
util.cpp
@ -433,7 +433,7 @@ bignum bignum::randomized_div(int x) const {
|
|||||||
}
|
}
|
||||||
while(isize(res.digits) && res.digits.back() == 0) res.digits.pop_back();
|
while(isize(res.digits) && res.digits.back() == 0) res.digits.pop_back();
|
||||||
if(rand() % x < carry) res += 1;
|
if(rand() % x < carry) res += 1;
|
||||||
println(hlog, get_str(100), " / ", x, " = ", res.get_str(100));
|
// println(hlog, get_str(100), " / ", x, " = ", res.get_str(100));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user