FANDOM


bxor( first, second )
Calculates the bitwise exclusive or of two numbers.
first
The first number.

second
The second number.

Examples Edit

--     0x5 = 0101 binary
-- xor 0x9 = 1001 binary
-- -------
--     0xc = 1100 binary
print(bxor(0x5, 0x9))  -- 12 (0xc)

See also Edit

Community content is available under CC-BY-SA unless otherwise noted.