Loading devShakib…
AND, OR, XOR, NOT and shifts on two integers with binary. Free, runs entirely in your browser — no signup, and nothing you paste in is uploaded.
Bitwise operations are how you pack several yes/no answers into one integer, which is why they turn up in permission flags, feature toggles and wire protocols. AND with a mask tests whether a bit is set, OR sets it, and XOR flips it — and XOR has the pleasing property of being its own inverse, so applying it twice returns the original.
Shifts are multiplication and division by powers of two, with the caveat that right-shifting a negative number depends on whether the language preserves the sign. Seeing the binary alongside the decimal is most of the value here, because the bug is almost always a mask that is one bit off and that is invisible in base ten.