Fixed node visual. |
Added an information note. |
||
Line 18: | Line 18: | ||
{{Note|The above ruleset is unique to this node and is different compared to the [[ProtoFlux:XOR|XOR]] node, where the resulting output is simply just checking against 2 inputs.|warning}} | {{Note|The above ruleset is unique to this node and is different compared to the [[ProtoFlux:XOR|XOR]] node, where the resulting output is simply just checking against 2 inputs.|warning}} | ||
{{Note|This node is similar to the [[ProtoFlux:Xor Elements|Xor Elements]] node.|information}} | |||
== Inputs == | == Inputs == |
Latest revision as of 18:18, 29 June 2024
XOR
Operands
+
-
Boolean
The MultiXOR node takes in any number of value inputs (either a bool or a number value), and functions as both a logical xor or bitwise XOR depending on the type used.
- If odd number of inputs are true, then the result will be true. - If even number of inputs are true, then the result will be false.
Inputs
Operands (Pseudo-generic)
The input values to do boolean calculations with.
Outputs
* (Pseudo-generic)
Returns the result of a logical XOR of all inputs if the node is a bool type, bitwise XOR otherwise.
Further Reading
Videos
See Also
- Wikipedia's definition of logical xor, bitwise xor, & xor gate.
- Microsoft's documentation on the xor operator.