FF's Notes
Graph
Home
← Home
Bit Operation
Mar 4, 2021
math
2
的幂整数的二进制特性:
x&(x-1)=0
任意数的二进制特性:
x&(x-1)
最后一个 1 为 0 。