Created
November 24, 2013 12:16
-
-
Save willprice/7626602 to your computer and use it in GitHub Desktop.
Get the number of bits of a type
This file contains 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 BITSOF(x) (sizeof(x) * 8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment