/** * Returns the absolute value of a number (the value without regard to whether it is positive or negative). * For example, the absolute value of -5 is the same as the absolute value of 5. * @param x A numeric expression for which the absolute value is needed. */ declare const abs: (x: number) => number; /** * Returns the arc cosine (or inverse cosine) of a number. * @param x A numeric expression. */ declare const acos: (x: number) => number; /** * Returns the arcsine of a number. * @param x A numeric expression. */ declare const asin: (x: number) => number; /** * Returns the arctangent of a number. * @param x A numeric expression for which the arctangent is needed. */ declare const atan: (x: number) => number; /** * Returns the angle (in radians) between the X axis and the line going through both the origin and the given point. * @param y A numeric expression representing the cartesian y-coordinate. * @param x A numeric expression representing the cartesian x-coordinate. */ declare const atan2: (y: number, x: number) => number; /** * Returns the smallest integer greater than or equal to its numeric argument. * @param x A numeric expression. */ declare const ceil: (x: number) => number; /** * Returns the cosine of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const cos: (x: number) => number; /** * Returns e (the base of natural logarithms) raised to a power. * @param x A numeric expression representing the power of e. */ declare const exp: (x: number) => number; /** * Returns the greatest integer less than or equal to its numeric argument. * @param x A numeric expression. */ declare const floor: (x: number) => number; /** * Returns the natural logarithm (base e) of a number. * @param x A numeric expression. */ declare const log: (x: number) => number; /** * Returns the larger of a set of supplied numeric expressions. * @param values Numeric expressions to be evaluated. */ declare const max: (...values: number[]) => number; /** * Returns the smaller of a set of supplied numeric expressions. * @param values Numeric expressions to be evaluated. */ declare const min: (...values: number[]) => number; /** * Returns the value of a base expression taken to a specified power. * @param x The base value of the expression. * @param y The exponent value of the expression. */ declare const pow: (x: number, y: number) => number; /** Returns a pseudorandom number between 0 and 1. */ declare const random: () => number; /** * Returns a supplied numeric expression rounded to the nearest integer. * @param x The value to be rounded to the nearest integer. */ declare const round: (x: number) => number; /** * Returns the sine of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const sin: (x: number) => number; /** * Returns the square root of a number. * @param x A numeric expression. */ declare const sqrt: (x: number) => number; /** * Returns the tangent of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const tan: (x: number) => number; /** * Returns the number of leading zero bits in the 32-bit binary representation of a number. * @param x A numeric expression. */ declare const clz32: (x: number) => number; /** * Returns the result of 32-bit multiplication of two numbers. * @param x First number * @param y Second number */ declare const imul: (x: number, y: number) => number; /** * Returns the sign of the x, indicating whether x is positive, negative or zero. * @param x The numeric expression to test */ declare const sign: (x: number) => number; /** * Returns the base 10 logarithm of a number. * @param x A numeric expression. */ declare const log10: (x: number) => number; /** * Returns the base 2 logarithm of a number. * @param x A numeric expression. */ declare const log2: (x: number) => number; /** * Returns the natural logarithm of 1 + x. * @param x A numeric expression. */ declare const log1p: (x: number) => number; /** * 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). * @param x A numeric expression. */ declare const expm1: (x: number) => number; /** * Returns the hyperbolic cosine of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const cosh: (x: number) => number; /** * Returns the hyperbolic sine of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const sinh: (x: number) => number; /** * Returns the hyperbolic tangent of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const tanh: (x: number) => number; /** * Returns the inverse hyperbolic cosine of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const acosh: (x: number) => number; /** * Returns the inverse hyperbolic sine of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const asinh: (x: number) => number; /** * Returns the inverse hyperbolic tangent of a number. * @param x A numeric expression that contains an angle measured in radians. */ declare const atanh: (x: number) => number; /** * Returns the square root of the sum of squares of its arguments. * @param values 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. */ declare const hypot: (...values: number[]) => number; /** * Returns the integral part of the a numeric expression, x, removing any fractional digits. * If x is already an integer, the result is x. * @param x A numeric expression. */ declare const trunc: (x: number) => number; /** * Returns the nearest single precision float representation of a number. * @param x A numeric expression. */ declare const fround: (x: number) => number; /** * Returns an implementation-dependent approximation to the cube root of number. * @param x A numeric expression. */ declare const cbrt: (x: number) => number; declare function clamp(value: number, min: number, max: number): number; export { abs, acos, acosh, asin, asinh, atan, atan2, atanh, cbrt, ceil, clamp, clz32, cos, cosh, exp, expm1, floor, fround, hypot, imul, log, log10, log1p, log2, max, min, pow, random, round, sign, sin, sinh, sqrt, tan, tanh, trunc };