【奇技淫巧】嘿嘿

Checks if a number is a power of two

  • return !(v & (v - 1)) && (!!v);
posted @ 2021-04-14 10:25  ShinyHeroF  阅读(38)  评论(0)    收藏  举报