added "is power of 2?" macro