Javascript mathematical functions
Absolute value |
abs( ) |
Square root |
sqrt( ) |
Exponential |
exp( ) |
Logarithm |
log( ) |
n-th power of x |
pow(x,n) |
Sine |
sin( ) |
Cosine |
cos( ) |
Tangent |
tan( ) |
Arc cosine |
acos( ) |
Arc sine |
asin( ) |
Arc tangent |
atan( ) |
Next integer |
ceil( ) |
Previous integer |
floor( ) |
Closest integer |
round( ) |
Maximum of x and y |
max(x,y) |
Minimum of x and y |
min(x,y) |
Random number |
random( ) |
|