Menu

operators-bxnor

Will Pittenger

Provides a way to XNOR together two unsigned integers such that each bit in the result is the boolean XNOR of the two corresponding bits in the operands. "A bxnor B" is equivalent to the the ASIL code "bnot a band bnot b" Implemented by the types byte, word, dbyte, qbyte, and obyte.

Typical prototype

The "T" represents the actual unsigned integer type being used.

operator bxnor var T left, var T right
  returns T

Related

Wiki: Operators
Wiki: operators-and
Wiki: operators-band
Wiki: operators-bnand
Wiki: operators-bnor
Wiki: operators-bnot
Wiki: operators-bor
Wiki: operators-bxor
Wiki: operators-nand
Wiki: operators-nor
Wiki: operators-not
Wiki: operators-or
Wiki: operators-xnor
Wiki: operators-xor