class Psychlops::Math
C functions equivalents
abs(double num)
pow(double num)
sqrt(double num)
sin(double radian)
cos(double radian)
atan(double)
atan2(double, double)
ceil(double num)
floor(double num)
mod(int num, int dividedby)
fmod(double num, double dividedby)
atoi(string)
atof(string)
CONSTANT
PI
-
E
: Base of the natural logarithm - random
random()
: returns random number from range of [0, 1).random(int n)
: returns random integer from range of [0, n).random(double n)
: returns random number from range of [0, n).