math.*

Type Library
Revision Release 2025.3714
Keywords math

Overview

This set of math function uses the standard Lua 5.1 math library (which calls the standard C library).

Functions / Constants

math.abs()

math.acos()

math.asin()

math.atan()

math.atan2()

math.ceil()

math.cos()

math.cosh()

math.deg()

math.exp()

math.floor()

math.fmod()

math.frexp()

math.ldexp()

math.log()

math.log10()

math.max()

math.min()

math.modf()

math.pi

math.pow()

math.rad()

math.random()

math.randomseed()

math.round()

math.sin()

math.sinh()

math.sqrt()

math.tan()

math.tanh()