Binary tools
AND, OR, XOR and shifts of two whole numbers, and how many bits are on. For permission flags and bitmasks.
A Discord element (a value) in Values. Needs the Free plan or higher to go live; building and testing are free.
Example
6 AND 3 → 2
Also called
bitmask, bitwise, binary and or, flags, popcount
What you give it
- A
- B
- Shift by
What it gives back
- A and B
- A or B
- A xor B
- A shifted
- Bits on in A
- A in binary