Woodwork hacker Matthias Wandel has built this amazing binary marble adding machine. The device can store the binary states of six bits, and use them to add numbers from one to 63. It works with ...
Title says it all (almost). I have an (arbitrary length) binary value, and I need to find the position of the most significant bit which is a '1'. I've thought up a couple algorithms already, but I'm ...