Skip to content

Instantly share code, notes, and snippets.

@VojtaStavik
Created April 5, 2017 19:15
Show Gist options
  • Save VojtaStavik/6c13544178662e2bb0a73f7f369ca782 to your computer and use it in GitHub Desktop.
Save VojtaStavik/6c13544178662e2bb0a73f7f369ca782 to your computer and use it in GitHub Desktop.
2 ==> 0 1 0
6 ==> 1 1 0
----------------
2 ^ 6 ==> 1 0 0 // 100 in binary represents number 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment