Created
April 20, 2014 17:53
-
-
Save jonathanmarvens/11120466 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define CHECK_BIT(val, position) ((val) & (1 << (position))) | |
#define CHECK_BIT_TRUTH_VAL(val, position) (!! CHECK_BIT(val, position)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment