Exponentiation. Use as any other arithmetic operator, like
5^(1/3). If exponent is an integer, you can use a negative base, otherwise you will get “NaN” with a negative base. If both arguments are integers, the result will be an integer.
int/float abs(int/float x)
Absolute (positive) value of x.
float arctan(float x, float y)
Arctangent of x. Pass 1 as y (don’t ask…).
int ceil(float x)
Round x to the nearest integer that is not less than x.
float cos(float x)
Cosine of x
Unsigned integer division. Use as a division operator, like
3 + (20 div 5). If both dividend and divisor are integers, they will be treated as unsigned integers. If one of them is a float, div will perform the signed division just like vanilla division operator.
float exponent(float x)
int floor2(int/float value)
Works just like vanilla floor function, but returns correct integers for negative values (vanilla floor function works exactly the same as
ceil for negative values, much like
trunc in C/C++).
float log(float x)
Natural logarithm of x.
int round(float x)
Round x to the nearest integer.
float sin(float x)
Sine of x
float sqrt(float x)
Square root of x.
float tan(float x)
Tangent of x