math
abs
fun abs(double n) > double
Returns: absolute value of n
acos
fun acos(double n) > double
Returns: acos of n
asin
fun asin(double n) > double
Returns: asin of n
atan
fun atan(double n) > double
Returns: atan of n
ceil
fun ceil(double n) > int
Returns: ceiled n
cos
fun cos(double n) > double
Returns: cos of n
final double pi
π
deg
fun deg(double n) > double
Convert radian to degree
exp
fun exp(double n) > double
Returns: exp of n
floor
fun floor(double n) > int
log
fun log(double base, double n) > double
Returns: log(base) of n
maxDouble
fun maxDouble(double a, double b) > double
Returns: max of a and b
minDouble
fun minDouble(double a, double b) > double
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(double n) > double
Convert degree to radian
sin
fun sin(double n) > double
Returns: sin of n
sqrt
fun sqrt(double n) > double
Returns: square root of n
tan
fun tan(double n) > double
Returns: tan of n
pow
fun pow(double x, double y) > double !> OverflowError, UnderflowError
Returns: x
^y