We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f34c6 commit b9de7c0Copy full SHA for b9de7c0
bn_mp_ilogb.c
@@ -42,7 +42,7 @@ static mp_digit s_digit_ilogb(mp_digit base, mp_digit n)
42
43
while (((mp_digit)(high - low)) > 1uL) {
44
mid = (low + high) >> 1;
45
- bracket_mid = bracket_low * s_pow(base, mid - low) ;
+ bracket_mid = bracket_low * s_pow(base, (mp_word)(mid - low));
46
47
if (N < bracket_mid) {
48
high = mid ;
0 commit comments