Recently someone asked me about C’s bitwise shift operator, specifically about what it does to signed integers. To be honest, until then I haven’t even considered applying << or >> to anything else than unsigned numbers. So let’s figure out what this is about.

This post has moved to my new blog:! Dear Devices