ProtoFlux:Not Equals: Difference between revisions

From Resonite Wiki
stub
 
Filled in this node page.
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"", "Type":"Dummy"},
{"Name":"A", "Type":"Dummy"},
{"Name":"", "Type":"Dummy"}
{"Name":"B", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"", "Type":"bool"}
{"Name":"*", "Type":"bool"}
]
]
|}}
|}}
The '''Not Equals''' node takes in 2 inputs and returns if the values do not match.
{{Note|If you need to check if values are equal to each other, use the [[ProtoFlux:Equals|Equals]] node.|suggestion}}
== Inputs ==
=== A (Pseudo-Generic) ===
The first value to check.
=== B (Pseudo-Generic) ===
The second value to check.
== Outputs ==
=== * ([[Type:bool|bool]]) ===
Returns if the 2 input values are not equal.
== Bugs & Issues ==
* This node does not correctly return the correct value when using and comparing <code>NaN</code> values against each other: [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1046 #1046] & [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1244 #1244].
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Inequality_(mathematics) inequality].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/equality-operators inequality] operator.


[[Category:ProtoFlux:Stubs]]
[[Category:ProtoFlux:Stubs]]
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Revision as of 08:28, 27 June 2024

!=
A
*
B
Operators

The Not Equals node takes in 2 inputs and returns if the values do not match.

If you need to check if values are equal to each other, use the Equals node.

Inputs

A (Pseudo-Generic)

The first value to check.

B (Pseudo-Generic)

The second value to check.

Outputs

* (bool)

Returns if the 2 input values are not equal.

Bugs & Issues

  • This node does not correctly return the correct value when using and comparing NaN values against each other: #1046 & #1244.

See Also