math.absmath.abs(x)Returns the absolute value of x.
math.ceilmath.ceil(x)Returns the smallest integer larger than or equal to x.
math.floormath.floor(x)Returns the largest integer smaller than or equal to x.
math.degmath.deg(x)Returns the angle x (given in radians) in degrees.
math.rad(x)Returns the angle x (given in degrees) in radians.
math.expmath.exp(x)Returns the value e x e^.
math.frexpmath.frexp(x)Returns two values m and e such that: If x is finite and non-zero: x = m × 2 e x=m\times 2^, e is an integer, and the absolute value of m is in the range [0.5, 1) {\displaystyle [0.5,1)} [0.5,1) If x is zero: m and e are 0 If x is NaN or infinite: m is x and e is not specified ===ldexp=== math.ldexp math.ldexp(m, e) Returns m × 2 e {\displaystyle m\times 2^{e}} m\times 2^{e} (e should be an integer). Returns the base-10 logarithm of x. ===modf=== math.modf math.modf(x) Returns two numbers, the integral part of x and the fractional part of x. For example, math.modf(1.25) yields 1, 0.25. ===pow=== math.pow(x, y) Equivalent to x^y. ===sqrt=== math.sqrt(x) Returns the square root of x. Equivalent to x^0.5. ===huge=== math.huge The value representing positive infinity; larger than or equal to any other numerical value. ===pi=== math.pi The value of π {\displaystyle \pi } \pi .]