A shift moves every bit of a number by positions: a << k to the left, adding zeros on the right, and a >> k to the right, dropping the rightmost bits. For a whole number , a << k is and a >> k is the quotient a // 2**k.
Computer Science · Begrippenlijst
Wat is Shift?
Ook bekend als: shift (bit shift)