add bit.bxor() operation
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user