3 ms·
Your bitwise example reminds me of how much I dislike working with Haskell's Data.Bits: (x .&. y) + ((x `xor` y) `shiftR` 1)
by walrus 13y ago
Your bitwise example reminds me of how much I dislike working with Haskell's Data.Bits:
(x .&. y) + ((x `xor` y) `shiftR` 1)