News for hackers. Stuff that matters.
Re:8-bit number to binary string by personjerry on Thursday November 05, 2015 @08:54AM (#10513266)
Awesome. I'm always amazed by bitmagic like this. Today I saw one on stackoverflow and spent a good deal of time failing to understand it:

https://stackoverflow.com/questions/33532045/how-to-swap-fir...

And of course I'm reminded of the fast inverse square root:

https://en.wikipedia.org/wiki/Fast_inverse_square_root

There are no comments on this comment yet.