Houdini 21.0 Nodes APEX nodes

BitwiseXor

Performs a bitwise XOR operation.

On this page
Since 21.0

The bitwise XOR operation performs a logical exclusive disjunction on each bit of a set of integers (their binary representations). The bitwise XOR starts by performing an XOR between the corresponding bits of the first two inputs. The result is then XOR'ed with the third input, and so on for the rest of the inputs. For example, if there are three inputs:

Binary Input A

Binary Input B

Result_AB (A XOR B)

100

010

110

Result_AB

Binary Input C

Output (Result_AB XOR C)

110

011

101

Inputs

inputs: VariadicArg<Int>

Variadic input of integer values.

Outputs

result: Int

The computed bitwise integer value.

See also

APEX nodes