sqrt - takes a number, returns the square root.
sqrt(number);
sqrt(16); => 4.0
cos - takes a number, returns the cosine.
cos(number);
cos(0); => 1.0
acos - takes a number, returns the arc cosine.
acos(number);
acos(1); => 0.0;
sin - takes a number, returns the sine.
sin(number);
sin(0); => 0.0
asin - takes a number, returns the arc sine.
asin(number);
asin(0); => 0.0
tan - takes a number, returns the tangent.
tan(number);
tan(0); => 0.0
atan - takes a number, returns the arc tangent.
atan(number);
atan(0); => 0.0
log - takes a number, returns the natural logarithm.
log(number);
e = 2.71828182846;
log(e); => 1.0
log2 - takes a number, returns the base 2 logarithm.
log2(number);
log2(64); => 6.0
log10 - takes a number, returns the base 10 logarithm.
log10(number);
log10(1000); => 3.0
exp - takes a number, returns the exponential.
exp(number);
exp(0); => 1.0
round - takes a number, returns the nearest integer.
round(number);
round(1.2); => 1
round(1.7); => 2
floor - takes a number, returns the nearest integer less than or equal to the number.
floor(number);
floor(1.2); => 1
floor(1.7); => 1
ceil - takes a number, returns the nearest integer greater than or equal to the number.
ceil(number);
ceil(1.2); => 2
ceil(1.7); => 2