Constants

Data

e

e = 2.71828182845904523536028747135266249775724709369995…

inf

Floating point representation of positive infinity.

nan

Floating point representation of Not a Number.

pi

pi = 3.1415926535897932384626433…

e = <descarteslabs.workflows.types.primitives.number.Float object>

e = 2.71828182845904523536028747135266249775724709369995…

Example

>>> import descarteslabs.workflows as wf
>>> wf.e
<descarteslabs.workflows.types.primitives.number.Float object at 0x...>
>>> wf.e.compute() 
2.718281828459045
inf = <descarteslabs.workflows.types.primitives.number.Float object>

Floating point representation of positive infinity.

Example

>>> import descarteslabs.workflows as wf
>>> wf.inf
<descarteslabs.workflows.types.primitives.number.Float object at 0x...>
>>> wf.inf.compute() 
inf
nan = <descarteslabs.workflows.types.primitives.number.Float object>

Floating point representation of Not a Number.

Example

>>> import descarteslabs.workflows as wf
>>> wf.nan
<descarteslabs.workflows.types.primitives.number.Float object at 0x...>
>>> wf.nan.compute() 
nan
pi = <descarteslabs.workflows.types.primitives.number.Float object>

pi = 3.1415926535897932384626433…

Example

>>> import descarteslabs.workflows as wf
>>> wf.pi
<descarteslabs.workflows.types.primitives.number.Float object at 0x...>
>>> wf.pi.compute() 
3.141592653589793