6 ms·
One fun repository of logic operations like this is https://graphics.stanford.edu/~seander/bithacks.html https://graphics.stanford.edu/~seander/bithacks.html
by timerol 4y ago
One fun repository of logic operations like this is https://graphics.stanford.edu/~seander/bithacks.html https://graphics.stanford.edu/~seander/bithacks.html