add bit.bxor() operation

This commit is contained in:
laelnasan
2020-12-06 21:18:30 -03:00
committed by GitHub
parent c4884f6a14
commit a167c108dd

View File

@@ -31,5 +31,10 @@ function bit.bor(a, b)
return a | b return a | b
end end
-- bit/xor operation
function bit.bxor(a, b)
return a ~ b
end
-- load bit module -- load bit module
return bit return bit