Math class in Global context

Mathematical functions library.

13 members:

type and namedescriptioncomments
float pi
floating point
pi ~ 3.14  
float twopi
floating point
2*pi ~ 6.28  
float pi2
floating point
pi/2 ~ 1.57  
float pi4
floating point
pi/4 ~ 0.78  
float rnd01
floating point
random number [0..1)  
integer seed
integer
random seed Random number generator seed. This value cannot be read, it is write-only property.
Note: Math.seed influences all future random activity in the simulator, not only Math.rnd01 results. 
float time
floating point
current time Number of seconds since the Epoch (00:00:00 UTC/GMT, January 1, 1970) 
function sin
function
sinus  
function cos
function
cosinus  
function exp
function
exponent  
function log
function
logarithm; base = e  
function sqrt
function
square root  
function sigmoid
function
sigmoid function = 2/(1+exp(-x))-1  

Global context