Add bit operations in math lib
Opened this issue · 0 comments
uri-99 commented
Bit shifting, right and left.
AND, OR, XOR, NOT
Some are already supported by Cairo, but others (like bit shifting) are not.
Operations should be compatible with u16...u256 and i16....i256.
After implementing, the solution should be applied where appropriate (for example in tick_bitmap.cairo, the function calculate_word(tick) is a mock of bit shifting)