Binary Constant Macros in C

Tom Torfs (via Jonathan Rentzsch): I’ve been missing the lack of support for binary numeric literals in C. To get around it I wrote the following handy macros, which allows you to simply write something like: whatever = B8(10101010); and will translate as: whatever = 85;