Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Infinity.cs
4
6{
10 public class Infinity : IConstant
11 {
15 public Infinity()
16 {
17 }
18
22 public string ConstantName => "∞";
23
27 public string[] Aliases => new string[] { "infinity", "inf" };
28
34 {
35 return infinity;
36 }
37
38 private static readonly DoubleNumber infinity = new DoubleNumber(double.PositiveInfinity);
39 }
40}
Represents the smallest positive System.Double value that is greater than zero.
Definition: Infinity.cs:11
Infinity()
Represents the smallest positive System.Double value that is greater than zero.
Definition: Infinity.cs:15
string[] Aliases
Optional aliases. If there are no aliases for the constant, null is returned.
Definition: Infinity.cs:27
IElement GetValueElement(Variables Variables)
Gets the constant value element.
Definition: Infinity.cs:33
string ConstantName
Name of the constant
Definition: Infinity.cs:22
Collection of variables.
Definition: Variables.cs:25
Basic interface for all types of elements.
Definition: IElement.cs:20
Base interface for constants that integrate into the script engine.
Definition: IConstant.cs:10