34,333
edits
Changes
→Bitwise Left Shift
=== Bitwise Left Shift ===
The bitwise left shift moves each bit in a binary number a specified number of positions to the left. As the bits are shifted to the left, zeros are placed in the vacated right most (low order) positions. Note also that the once the left most (high order) bits are shifted beyond the size of the variable containing the value, those high order are discarded:
<tt>10101011 Left Shift one bit</tt><br>