On Mon, Jun 22, 2015 at 5:58 PM, Jan Dubois <jand@activestate.com> wrote: > The modulo operation would turn the shift into a rotate, which should > be a separate operator. Of course for rotation using negative numbers > to change direction makes even more sense. Actually, this part of my statement is wrong; it wouldn't be a rotation. But shifting by "n modulo wordbits" makes even less sense to me now that I thought about it again. Why would this ever be desirable behaviour? Cheers, -JanThread Previous | Thread Next