P99

◆ P99_LOGIC_XOR

#define P99_LOGIC_XOR (   A,
 
)    P99_IS_EQ(P99_LOGIC_NOT(A), P99_LOGIC_EVAL(B))

Do a logical exclusive or of the arguments.

See also
P99_LOGIC_EVAL for how the individual arguments are considered to be truth values.
Returns
tokens 0 or 1

Definition at line 103 of file p99_logical.h.