math.*

类型
修订 版本 2024.3703
关键词 math

概览

这组数学函数使用标准的 Lua 5.1 数学库(它调用标准的 C 库)。

函数 / 常量

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()