ProtoFlux:Not Equals: Difference between revisions

From Resonite Wiki
stub
 
Small correction: This is the correct link to this concept of "not equals".
 
(One intermediate revision by the same user not shown)
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/Inequation inequation].
* 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]]

Latest revision as of 08:34, 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