1 2 3 4 5 6 7 8
#define w 20 #define c 1 foo (a) unsigned a; { return ((a & ((1 << w) - 1)) << c) > 0; }