Turn the lowest '1' bit in the binary representation of a number into a '0'. */
| 68 | |
| 69 | /** Turn the lowest '1' bit in the binary representation of a number into a '0'. */ |
| 70 | int static inline InvertLowestOne(int n) { return n & (n - 1); } |
| 71 | |
| 72 | /** Compute what height to jump back to with the CBlockIndex::pskip pointer. */ |
| 73 | int static inline GetSkipHeight(int height) { |