bitvec icon indicating copy to clipboard operation
bitvec copied to clipboard

Implement Shl and Shr (<< and >> operators)

Open ghcs27 opened this issue 5 months ago • 0 comments

Bitvec already provides shift_left and shift_right methods for in-place bitshifts, but it would be nice to provide operators which return the shifted BitVec/BitArray. This would also make it easier to translate code written with raw integers to cleaner bitvec code.

ghcs27 avatar Jun 17 '25 11:06 ghcs27