【奇技淫巧】嘿嘿


Checks if a number is a power of two

  • return !(v & (v - 1)) && (!!v);

相关