Solidity integer division truncates toward zero. The Uniswap V3 tick bitmap
needs floor division.
For positive ticks, those are the same. For negative ticks, they are not.
Get it wrong and a swap moving down through negative territory hunts for the next tick on the wrong side of the price. It is a recurring bug class in forks that "simplify" the library.