explicit condition
This commit is contained in:
parent
f5a4537f3c
commit
b586fcbd30
@ -7,7 +7,7 @@
|
||||
static mp_word s_pow(mp_word base, mp_word exponent)
|
||||
{
|
||||
mp_word result = 1uLL;
|
||||
while (exponent) {
|
||||
while (exponent != 0u) {
|
||||
if ((exponent & 0x1) == 1) {
|
||||
result *= base;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user