When should I use a bitwise operator?

后端 未结 9 906
暗喜
暗喜 2020-12-02 14:01

I read the following Stack Overflow questions, and I understand the differences between bitwise and logical.

  • Difference between & and && in

9条回答
  •  忘掉有多难
    2020-12-02 14:22

    If you want to know more how it works check out this site:

    http://www.bitwiseoperatorcalculator.com/

    Coming from PHP, I have never used it before but just reading for fun this site gives simple explanations!

提交回复
热议问题