kayzeekayzee@lemmy.blahaj.zonetoProgrammer Humor@programming.dev•How should I increment an int?English
37·
30 days agoI like to shake the bytes around a little
i = ( i << 1 + 2 ) >> 1
I like to shake the bytes around a little
i = ( i << 1 + 2 ) >> 1
Yippee!