abs(x) | return the absolute value of x | ∣x∣ | number |
acos(x) | return the inverse cosine of x | arccos(x) | number |
acosh(x) | return the inverse hyperbolic cosine of x | arcosh(x) | number |
asin(x) | return the inverse sine of x | arcsin(x) | number |
asinh(x) | return the inverse hyperbolic sine of x | arsinh(x) | number |
atan(x) | return the inverse tangent of x | arctan(x) | number |
atanh(x) | return the inverse hyperbolic tangent of x | arctanh(x) | number |
atan2(y, x) | return the inverse tangent of the quotient y / x of the arguments y and x | arctan(xy) | number |
cbrt(x) | return the cube root of x | 3x | number |
ceil(x) | return the smallest integer greater than or equal to x | ⌈x⌉ | number |
clz32(x) | return the number of leading zero bits of the 32-bit integer x | | number |
cos(x) | return the cosine of x | cos(x) | number |
cosh(x) | return the hyperbolic cosine of x | 2ex+e−x | number |
exp(x) | return the exponential function of x | ex | number |
expm1(x) | return the result of subtracting 1 from the exponential function of x | ex−1 | number |
floor(x) | return the largest integer less than or equal to x | ⌊x⌋ | number |
fround(x) | return the nearest single precision float representation of x | | number |
hypot(...args) | return the square root of the sum of squares of its arguments. | ∑_i=1nxn2 | number |
imul(x, y) | return the result of the 32-bit integer multiplication of x and y. | | number |
log(x) | return the natural logarithm of x | ln(x) | number |
log1p(x) | return the natural logarithm of 1 + x | ln(1+x) | number |
log10(x) | return the base 10 logarithm of x | log10x | number |
log2(x) | return the base 2 logarithm of x | log2x | number |
max(...args) | return the largest of the resulting values | max{f(x1),...,f(xn)} | number |
min(...args) | return the smallest of the resulting values | min{f(x1),...,f(xn)} | number |
pow(base, exponent) | return base x to the exponent power y (that is, x^y) | xy | number |
random() | return a pseudo-random number between 0 and 1 | x∈(0,1] | number |
round(x) | return the value of the number x rounded to the nearest integer | ⌊x+21⌋ | number |
sign(x) | return the sign of the x, indicating whether x is positive, negative, or zero | ± | number |
sin(x) | return the sine of x | sinx | number |
sinh(x) | return the hyperbolic sine of x | 2ex−e−x | number |
sqrt(x) | return the positive square root of x | x | number |
tan(x) | return the tangent of x | tan(x) | number |
tanh(x) | return the hyperbolic tangent of x | e2x+1e2x−1 | number |
trunc(x) | return the integer portion of x, removing any fractional digits | | number |