I am wondering if there is a specific way to test if exactly one in a series of several variables is zero.
For example, with two variables it would be
a xor b
If I wanted to test exactly one of a, b, c, … were 0, would it be
a xor b xor c xor...
or would I need parenthesis somewhere?