Bxor()

From TinyMUX
Jump to navigation Jump to search

Description

FUNCTION: bxor(number[, number [, ...]])

Arguments must be integers and they are treated as a bitfield. It performs a bitwise logical eXclusive-OR which has the effect of toggling certain bits on in the result.

Related Topics: shl(), shr(), band(), bnand(), bor().

Examples

> think bxor(922,785)
139


(--Soylent 00:53, 3 December 2005 (EST))