We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d26cb7 commit 0983dbfCopy full SHA for 0983dbf
src/big-int/bigint-test.cc
@@ -298,7 +298,7 @@ run_floorPow2_tests ()
298
299
for (unsigned i = 0; i < 512; ++i) {
300
unsigned x = 512 - i;
301
- N = pow(2,x);
+ N = pow(BigInt(2),x);
302
M.setPower2(x);
303
304
if (!(N == M)) {
@@ -327,7 +327,7 @@ run_floorPow2_tests ()
327
328
}
329
330
- N = pow(2,0); // 1
+ N = pow(BigInt(2),0); // 1
331
M.setPower2(0);
332
333
0 commit comments