よく見るビット演算のトリック集

codehexcodehex のブックマーク 2018/12/31 17:09

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Bitwise operators and tricks! - hyfr!

    Returns 1 only if exactly one bit is set to 1 out of the two bits in comparison. Operates on two equal-length bit patterns, !(works on 1100 and 00) Binary operator. Left Shift ( << ): How it works ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう