A way around the rotational issue

Haha! My roommate pointed out on Saturday that a bit-wise rotation is just like shifting a value X bits, and or-ing it with the same value shifted the opposite direction (word size)-X bits. For example: A = (A << 7) | (a >> 25) for a 32-bit variable. This means I can, in fact, perform […]