HGPA

Bitwise Math

x y x & y x or y x ^ y
0 0 0 0 0
0 1 0 1 1
1 0 0 1 1
1 1 1 1 0

XOR

x y x ^ y
0 0 0
0 1 1
1 0 1
1 1 0

Always forgetting XOR?

Remember these facts regarding XOR:

Checkout http://bits.stephan-brumme.com/

Filename: bitwise-math.md (Edit)
Modified: 2017-02-25 (2a439f02c6a8a5282b6b2152f312cbf219e25d4c)
Created: 2017-02-25 (2a439f02c6a8a5282b6b2152f312cbf219e25d4c)