公式:eor & (~eor + 1)
eor: 1 0 1 1 0 0
~eor: 0 1 0 0 1 1
~eor + 1: 0 1 0 1 0 0
eor & (~eor + 1) 0 0 0 1 0 0
公式:eor & (~eor + 1)
eor: 1 0 1 1 0 0
~eor: 0 1 0 0 1 1
~eor + 1: 0 1 0 1 0 0
eor & (~eor + 1) 0 0 0 1 0 0