coja@lemmy.ml to Programmer Humor@lemmy.ml · vor 1 JahrFind yourselflemmy.mlimagemessage-square105fedilinkarrow-up1646arrow-down129
arrow-up1617arrow-down1imageFind yourselflemmy.mlcoja@lemmy.ml to Programmer Humor@lemmy.ml · vor 1 Jahrmessage-square105fedilink
minus-squareSnazz@lemmy.worldlinkfedilinkarrow-up24·vor 1 JahrBit hacker 2 is really fascinating. It uses a bit mask of all 1s (-1) or all 0s (0) and takes advantage of the fact that y ^ (x ^ y) = x and y ^ 0 = y
Bit hacker 2 is really fascinating. It uses a bit mask of all 1s (-1) or all 0s (0) and takes advantage of the fact that y ^ (x ^ y) = x and y ^ 0 = y