powerof2
#define powerof2(x) ((((x)-1)&(x))==0)
#define powerof2(x) ((((x)-1)&(x))==0) // 是否是2的次方
#define powerof2(x) ((((x) -1) & (x)) == 0)