Math.abs(x) | Returns the absolute (positive) value of a number |
Math.acos(x) | Returns the inverse cosine (arc cosine) of x in radians |
Math.acosh(x) | Returns the inverse hyperbolic cosine of x |
Math.asin(x) | Returns the inverse sine (arc sine) of x in radians |
Math.asinh(x) | Returns the inverse hyperbolic sine of x |
Math.atan(x) | Returns the inverse tangent (arc tangent) of x in radians |
Math.atanh(x) | Returns the inverse hyperbolic tangent of x |
Math.atan2(y, x) | Returns the angle between the positive x-axis and the point (x, y) in radians |
Math.cbrt(x) | Returns the cube root of x |
Math.ceil(x) | Rounds a number up to the nearest integer |
Math.clz32(x) | Returns the count of leading zero bits in the 32-bit binary representation |
Math.cos(x) | Returns the cosine of x (x in radians) |
Math.cosh(x) | Returns the hyperbolic cosine of x |
Math.exp(x) | Returns e raised to the power of x |
Math.expm1(x) | Returns e^x - 1 |
Math.floor(x) | Rounds a number down to the nearest integer |
Math.fround(x) | Returns the nearest 32-bit single-precision float |
Math.hypot(...values) | Returns the square root of the sum of squares of arguments |
Math.imul(a, b) | Returns the result of 32-bit integer multiplication |
Math.log(x) | Returns the natural logarithm (base e) of x |
Math.log1p(x) | Returns ln(1 + x) |
Math.log10(x) | Returns the base-10 logarithm of x |
Math.log2(x) | Returns the base-2 logarithm of x |
Math.max(...values) | Returns the largest number from given values |
Math.min(...values) | Returns the smallest number from given values |
Math.pow(x, y) | Returns x raised to the power of y |
Math.random() | Returns a random number between 0 (inclusive) and 1 (exclusive) |
Math.round(x) | Rounds a number to the nearest integer |
Math.sign(x) | Returns 1 if positive, -1 if negative, 0 if zero |
Math.sin(x) | Returns the sine of x (x in radians) |
Math.sinh(x) | Returns the hyperbolic sine of x |
Math.sqrt(x) | Returns the square root of x |
Math.tan(x) | Returns the tangent of x (x in radians) |
Math.tanh(x) | Returns the hyperbolic tangent of x |
Math.trunc(x) | Removes the decimal part and returns the integer part |