diff options
author | lloyd <[email protected]> | 2006-09-09 01:13:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-09 01:13:23 +0000 |
commit | 851aae3b7a03daa77f16b7256ed97f2317566c12 (patch) | |
tree | 4f111a3dc3054db4ad76809eb65de961420e9faa | |
parent | 0fa09058d3d9b920c0fc38e159728f3566678fde (diff) |
Add parenthesis to make the order of evaluation in an expression more obvious
-rw-r--r-- | src/mp_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp_misc.cpp b/src/mp_misc.cpp index 5f391f905..e0dd7d3b6 100644 --- a/src/mp_misc.cpp +++ b/src/mp_misc.cpp @@ -63,7 +63,7 @@ word bigint_divop(word n1, word n0, word d) word high_top_bit = (high & MP_WORD_TOP_BIT); high <<= 1; - high |= (n0 >> MP_WORD_BITS-1-j) & 1; + high |= (n0 >> (MP_WORD_BITS-1-j)) & 1; quotient <<= 1; if(high_top_bit || high >= d) |