NOR Calculator
Compute the bitwise NOR of two integers (width-limited).
NOR is OR followed by NOT — it outputs 1 only where both inputs are 0.
The math behind it
Compute a OR b, then invert every bit within the chosen bit width. NOR is a universal gate: any logic circuit can be built from NOR gates alone.
Worked example
With 8 bits, 12 NOR 10 = 241 (11110001).
FAQ
Why set a bit width?
Inversion depends on how many bits represent the number; the width defines the mask.