A better mousetrap for bitwise functions.