math

# Properties

[{"index":"integer mininteger (Static)","0":"An integer with the minimum value for an integer."}]

[{"index":"integer maxinteger (Static)","0":"An integer with the maximum value for an integer."}]

[{"index":"number pi (Static)","0":"The value of π."}]

[{"index":"number huge (Static)","0":"The largest float."}]

# Functions

[{"index":"integer ceil(number x) (Static)","0":"Returns the smallest integral value larger than or equal to x."}]

[{"index":"number acos(number x) (Static)","0":"Returns the arccosine of x."}]

[{"index":"number deg(number x) (Static)","0":"Converts the angle x from radians to degrees."}]

[{"index":"number exp(number x) (Static)","0":"Returns a value that powers the constant e by x. Constant e is equal to 2.71828182845904, which is below the natural log value."}]

[{"index":"number sqrt(number x) (Static)","0":"Returns the square root of x."}]

[{"index":"number sin(number x) (Static)","0":"Returns the sine of x."}]

[{"index":"string type(any x) (Static)","0":"Returns integer if x is an integer, float if it is a float, or nil if x is not a number."}]

[{"index":"number tan(number x) (Static)","0":"Returns the tangent of x."}]

[{"index":"number cos(number x) (Static)","0":"Returns the cosine of x."}]

[{"index":"void randomseed(integer x) (Static)","0":"Sets x as the seed for the pseudo-random generator. Equal seeds produce equal sequences of numbers."}]

[{"index":"number random() (Static)","0":"Returns a pseudorandom error maximally drawn in the range [0, 1)."}]

[{"index":"integer random(integer n) (Static)","0":"Returns a pseudorandom integer uniformly distributed in the [1, n] range."}]

[{"index":"integer random(integer m, integer n) (Static)","0":"Returns a pseudorandom integer uniformly distributed in the range [m, n]."}]

[{"index":"number min(number x, number... args) (Static)","0":"Returns the argument with the minimum value according to the Lua operator <."}]

[{"index":"number asin(number x) (Static)","0":"Returns the arcsine of x."}]

[{"index":"number rad(number x) (Static)","0":"Converts the angle x from degrees to radians."}]

[{"index":"number, number modf(number x) (Static)","0":"Returns the integral and fractional parts of x."}]

[{"index":"boolean ult(integer m, integer n) (Static)","0":"Returns true if integer m is below integer n when they are compared as unsigned integers and false otherwise."}]

[{"index":"number max(number x, number... args) (Static)","0":"Returns the argument with the maximum value according to the Lua operator <."}]

[{"index":"number log(number x, number base = 2.7182818) (Static)","0":"Returns the natural logarithm of x."}]

[{"index":"number fmod(number x, number y) (Static)","0":"Returns the remainder of the division of x by y that rounds the quotient towards 0."}]

[{"index":"integer floor(number x) (Static)","0":"Returns the largest integral value smaller than or equal to x."}]

[{"index":"number abs(number x) (Static)","0":"Returns the absolute value of x."}]

[{"index":"integer tointeger(number x) (Static)","0":"If x is convertible to an integer, returns that integer. Otherwise, returns nil."}]

[{"index":"number atan(number y, number x = 1) (Static)","0":"Returns the arctangent of y\/x, and uses the signs of the two arguments to determine the quadrant of the result. The default value for x is 1."}]

[{"index":"boolean almostequal(number x, number y) (Static)","0":"Checks if the two real world number values are almost the same."}]

[{"index":"number cosh(number x) (Static)","0":"Returns the hyperbolic cosine of x."}]

[{"index":"number sinh(number x) (Static)","0":"Returns the hyperbolic sine of x."}]

[{"index":"number tanh(number x) (Static)","0":"Returns the hyperbolic tangent of x."}]

[{"index":"number pow(number x, number y) (Static)","0":"Returns x to the power of y."}]

[{"index":"number, integer frexp(number x) (Static)","0":"Returns m and e such that x = m*2^e. \"e\" is an integer. The absolute value of m is in the range [0.5, 1), or it is zero when x is zero."}]

[{"index":"number ldexp(number x, integer e) (Static)","0":"Returns x*2^e."}]

[{"index":"number log10(number x) (Static)","0":"Returns the base-10 logarithm of x."}]

[{"index":"number clamp(number value, number min, number max) (Static)","0":"Returns a value set with a [min, max] range."}]

[{"index":"number sign(number value) (Static)","0":"Returns the integer that indicates the value's sign."}]