lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Look at the following:

X              0  0  1  1
Y              0  1  0  1
X xor Y    0  1  1  0
X ~= Y     0  1  1  0

So in all cases, X xor Y is equivalent to X ~= Y given that X, Y are boolean. Hope that helps.


~smlckz