Skip to content

Instantly share code, notes, and snippets.

@rbe
Created August 25, 2012 12:06
Show Gist options
  • Select an option

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

Select an option

Save rbe/3464618 to your computer and use it in GitHub Desktop.
Output of BitTest.java
( 3 | 6) == 7, ist 7
( 7 | 5) == 7, ist 7
( 7 | 7) == 7, ist 7
(32 | 7) == 7, ist 39
12 == (3 | 6 | 5 | 7 | 32) ? false
12 == 39 ? false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment