Class NotApproximatelyEqual
Compares two numbers to determine if they are not approximately equal (disregarding floating point precision errors).
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Logic", 8)]
[UnitDisplay("Not Equal", "(Approximately)", null)]
[Obsolete("Use the new reflected logic operators instead.")]
public sealed class NotApproximatelyEqual : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
a
The first number.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
b
The second number.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
notEqual
Whether A is not approximately equal to B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A ≉ B")]
public ValueOutput notEqual { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Comparison(Flow)
Declaration
public bool Comparison(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Boolean |
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()