Math.abs()
-
Returns the absolute value of the input.
Math.acos()
-
Returns the arccosine of the input.
Math.acosh()
-
Returns the hyperbolic arccosine of the input.
Math.asin()
-
Returns the arcsine of the input.
Math.asinh()
-
Returns the hyperbolic arcsine of a number.
Math.atan()
-
Returns the arctangent of the input.
Math.atan2()
-
Returns the arctangent of the quotient of its arguments.
Math.atanh()
-
Returns the hyperbolic arctangent of the input.
Math.cbrt()
-
Returns the cube root of the input.
Math.ceil()
-
Returns the smallest integer greater than or equal to the input.
Math.clz32()
-
Returns the number of leading zero bits of the 32-bit integer input.
Math.cos()
-
Returns the cosine of the input.
Math.cosh()
-
Returns the hyperbolic cosine of the input.
Math.exp()
-
Returns ex, where x is the argument, and e is Euler's number (2.718…, the base of the natural logarithm).
Math.expm1()
-
Returns subtracting 1 from exp(x).
Math.floor()
-
Returns the largest integer less than or equal to the input.
Math.f16round()
-
Returns the nearest half precision float representation of the input.
Math.fround()
-
Returns the nearest single precision float representation of the input.
Math.hypot()
-
Returns the square root of the sum of squares of its arguments.
Math.imul()
-
Returns the result of the 32-bit integer multiplication of the inputs.
Math.log()
-
Returns the natural logarithm (㏒e; also, ㏑) of the input.
Math.log10()
-
Returns the base-10 logarithm of the input.
Math.log1p()
-
Returns the natural logarithm (㏒e; also ㏑) of 1 + x for the number x.
Math.log2()
-
Returns the base-2 logarithm of the input.
Math.max()
-
Returns the largest of zero or more numbers.
Math.min()
-
Returns the smallest of zero or more numbers.
Math.pow()
-
Returns base x to the exponent power y (that is, xy).
Math.random()
-
Returns a pseudo-random number between 0 and 1.
Math.round()
-
Returns the value of the input rounded to the nearest integer.
Math.sign()
-
Returns the sign of the input, indicating whether it is positive, negative, or zero.
Math.sin()
-
Returns the sine of the input.
Math.sinh()
-
Returns the hyperbolic sine of the input.
Math.sqrt()
-
Returns the positive square root of the input.
Math.sumPrecise()
-
Returns the sum of a passed iterable of numbers, avoiding floating point precision loss in intermediate results.
Math.tan()
-
Returns the tangent of the input.
Math.tanh()
-
Returns the hyperbolic tangent of the input.
Math.trunc()
-
Returns the integer portion of the input, removing any fractional digits.