ProtoFlux:Approximately: Difference between revisions

From Resonite Wiki
stub
 
Filled in the node page.
 
Line 16: Line 16:
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Approximately''' node takes in two values that could potentially be close enough within a certain <code>Epsilon</code> range. If the values are considered close enough, this node will return true.
 
{{Note|If you need to check something that is not within the approximate range between the 2 values, use the [[ProtoFlux:Approximately Not|Approximately Not]] node.|suggestion}}
 
== Inputs ==
 
=== A (Pseudo-Generic) ===
 
The first value to check.
 
=== B (Pseudo-Generic) ===
 
The second value to check.
 
=== Epsilon (Pseudo-Generic) ===
 
The smallest distance to check when comparing the 2 values. (Default: <code>9.403955E-38</code>)
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
If the values are close enough to each other, return true.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Approximation approximation] & [https://en.wikipedia.org/wiki/Approximation_theory approximation theory].
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 11:03, 27 June 2024


A
*
B
Epsilon
Operators

The Approximately node takes in two values that could potentially be close enough within a certain Epsilon range. If the values are considered close enough, this node will return true.

If you need to check something that is not within the approximate range between the 2 values, use the Approximately Not node.

Inputs

A (Pseudo-Generic)

The first value to check.

B (Pseudo-Generic)

The second value to check.

Epsilon (Pseudo-Generic)

The smallest distance to check when comparing the 2 values. (Default: 9.403955E-38)

Outputs

* (Pseudo-Generic)

If the values are close enough to each other, return true.

See Also