ProtoFlux:XNOR

From Resonite Wiki
Revision as of 16:20, 29 June 2024 by AmasterAmaster (talk | contribs) (Created a page for the XNOR node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
XNOR
A
*
B
Boolean

The XNOR node takes in two value inputs (either a bool or a number value), and functions as both a logical XNOR or bitwise XNOR depending on the type used.

- If both inputs are the same value, then the result will be true.
- If both inputs are different values, then the result is false.
The above ruleset breaks when using the MultiXNOR node, where the resulting output actually alternates when adding more input values. This may be due to how these nodes/code stacks it's operation when calculating the output.

Inputs

A (Pseudo-generic)

The first input value.

B (Pseudo-generic)

The second input value.

Outputs

* (Pseudo-generic)

Returns the result of a logical XNOR of A and B if the node is a bool type, bitwise XNOR otherwise.

See Also