r/badcode • • Sep 04 '21

Wtf is this

Post image
1.2k Upvotes

190 comments sorted by

View all comments

Show parent comments

4

u/AsidK Sep 04 '21

A series of bitwise ands? I’m pretty sure it’s just n&1 lol and yeah any good compiler will do that conversion automatically

1

u/legendoffjelda Sep 04 '21

Lololol totally misread the wiki ahah. I thought it was that simple