>For extra brownie points you could compute the look-up table
>beforehand instead of manually bashing it out.
For extra leetness points, I'll let it slip that this table was code generated for a specific number of bits by a tool that I wrote some time ago, not hand crafted.