December 2013

The other day I found myself wondering how to perform bitwise rotations in Python, particular bit rotations (circular shifts). There’s lots of complex ways to do it –┬ábitstring, bitarray, and […]