math
abs
fun abs(float n) > float
Returns: absolute value of n
acos
fun acos(float n) > float
Returns: acos of n
asin
fun asin(float n) > float
Returns: asin of n
atan
fun atan(float n) > float
Returns: atan of n
ceil
fun ceil(float n) > int
Returns: ceiled n
cos
fun cos(float n) > float
Returns: cos of n
const float pi
π constant
deg
fun deg(float n) > float
Convert radian to degree
exp
fun exp(float n) > float
Returns: exp of n
floor
fun floor(float n) > int
log
fun log(float base, float n) > float
Returns: log(base) of n
maxFloat
fun maxFloat(float a, float b) > float
Returns: max of a and b
minFloat
fun minFloat(float a, float b) > float
Returns: min of a and b
maxInt
fun maxInt(int a, int b) > int
Returns: max of a and b
minInt
fun minInt(int a, int b) > int
Returns: min of a and b
rad
fun rad(float n) > float
Convert degree to radian
sin
fun sin(float n) > float
Returns: sin of n
sqrt
fun sqrt(float n) > float
Returns: square root of n
tan
fun tan(float n) > float
Returns: tan of n
pow
fun pow(float x, float y) > float !> OverflowError, UnderflowError
Returns: x
^y