Interface Math
Hierarchy
- Math
Index
Methods
acosh
-
Parameters
-
x: number
A numeric expression that contains an angle measured in radians.
Returns number
-
asinh
-
Returns the inverse hyperbolic sine of a number.
Parameters
-
x: number
A numeric expression that contains an angle measured in radians.
Returns number
-
atanh
-
Returns the inverse hyperbolic tangent of a number.
Parameters
-
x: number
A numeric expression that contains an angle measured in radians.
Returns number
-
cbrt
-
Returns an implementation-dependent approximation to the cube root of number.
Parameters
-
x: number
A numeric expression.
Returns number
-
clz32
-
Returns the number of leading zero bits in the 32-bit binary representation of a number.
Parameters
-
x: number
A numeric expression.
Returns number
-
cosh
-
Returns the hyperbolic cosine of a number.
Parameters
-
x: number
A numeric expression that contains an angle measured in radians.
Returns number
-
expm1
-
Returns the result of (e^x - 1), which is an implementation-dependent approximation to subtracting 1 from the exponential function of x (e raised to the power of x, where e is the base of the natural logarithms).
Parameters
-
x: number
A numeric expression.
Returns number
-
fround
-
Returns the nearest single precision float representation of a number.
Parameters
-
x: number
A numeric expression.
Returns number
-
hypot
-
Returns the square root of the sum of squares of its arguments.
Parameters
-
Rest ...values: number[]
Values to compute the square root for. If no arguments are passed, the result is +0. If there is only one argument, the result is the absolute value. If any argument is +Infinity or -Infinity, the result is +Infinity. If any argument is NaN, the result is NaN. If all arguments are either +0 or −0, the result is +0.
Returns number
-
imul
-
Returns the result of 32-bit multiplication of two numbers.
Parameters
-
x: number
First number
-
y: number
Second number
Returns number
-
log10
-
Returns the base 10 logarithm of a number.
Parameters
-
x: number
A numeric expression.
Returns number
-
log1p
-
Returns the natural logarithm of 1 + x.
Parameters
-
x: number
A numeric expression.
Returns number
-
log2
-
Returns the base 2 logarithm of a number.
Parameters
-
x: number
A numeric expression.
Returns number
-
sign
-
Returns the sign of the x, indicating whether x is positive, negative or zero.
Parameters
-
x: number
The numeric expression to test
Returns number
-
sinh
-
Returns the hyperbolic sine of a number.
Parameters
-
x: number
A numeric expression that contains an angle measured in radians.
Returns number
-
tanh
-
Returns the hyperbolic tangent of a number.
Parameters
-
x: number
A numeric expression that contains an angle measured in radians.
Returns number
-
trunc
-
Returns the integral part of the a numeric expression, x, removing any fractional digits. If x is already an integer, the result is x.
Parameters
-
x: number
A numeric expression.
Returns number
-
Generated using TypeDoc
Returns the inverse hyperbolic cosine of a number.