what does "a & -2" mean?# Programming - 葵花宝典
s*e
1 楼
dear people,
if a is an integer, what would "a & -2" mean? It was used to make sure that
the result can be divided by 2, but i dont understand.
thanks.
if a is an integer, what would "a & -2" mean? It was used to make sure that
the result can be divided by 2, but i dont understand.
thanks.