Skip to content

Instantly share code, notes, and snippets.

View jackmead515's full-sized avatar
🤙
Working in paradise

Jack Mead jackmead515

🤙
Working in paradise
View GitHub Profile
@jackmead515
jackmead515 / gist:a1e1388154f3f3e99bdd2facba2d0b40
Created September 25, 2019 18:52
Bit Manipulation Stuff!
Bit Manipulation
& - and - both values are 1
| - or - one or the other is 1
^ - xor - if only one value is 1
~ - not - flips the bit