Bxor()

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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))