Quote:
Logical shifts, which lose bits. A left shift loses bits on the left and supplies zero bits on the right. A right shift loses bits on the right and supplies zero bits on the left. Logical shifts are not always equivalent to multiplying or dividing by a power of two.
Yes. That would be the behavior of the << and >>> operators i am currently working with. I wouldn't say that they lose bits though. 0 bits are padded in.
Quote:
Your examples are very confusing to me. For example, I do not understand why you said that 64*2 = 32. I will ignore your examples and give some of my own. I believe that the logical and circular shifts need no further explanation or examples.
Im sorry that was a typo. But looking at some of youre examples we seem to be on the same level of thought.