The bit shifts are sometimes considered bitwise operations, because they operate on the binary representation of an integer instead of its numerical value; however, the bit shifts do not operate on pairs of corresponding bits, and therefore cannot properly be called bit-wise. In these operations the digits are moved, or shifted, to the left or right. Registers in a computer processor have a fixed width, so some bits will be "shifted out" of the register at one end, while the same number of bits are "shifted in" from the other end; the differences between bit shift operators lie in how they determine the values of the shifted-in bits.
Read more about this topic: Bitwise Operation
Famous quotes containing the words bit and/or shifts:
“So-called Western Civilization, as practised in half of Europe, some of Asia and a few parts of North America, is better than anything else available. Western civilization not only provides a bit of life, a pinch of liberty and the occasional pursuance of happiness, its also the only thing thats ever tried to. Our civilization is the first in history to show even the slightest concern for average, undistinguished, none-too-commendable people like us.”
—P.J. (Patrick Jake)
“I have rather a strange objection to talking from the back platform of a train.... It changes too often. It moves around and shifts its ground too often. I like a platform that stays put.”
—Woodrow Wilson (18561924)