Skip to content

Instantly share code, notes, and snippets.

@rbe
Created August 25, 2012 11:59
Show Gist options
  • Select an option

  • Save rbe/3464484 to your computer and use it in GitHub Desktop.

Select an option

Save rbe/3464484 to your computer and use it in GitHub Desktop.
Number 6 in binary representation
128 64 32 16 8 4 2 1
====================
0 0 0 0 0 1 1 0
0 * 128
+ 0 * 64
+ 0 * 32
+ 0 * 16
+ 0 * 8
+ 1 * 4
+ 1 * 2
+ 0 * 1
= 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment