Math: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Math is a built-in Lua library which | Math is a built-in Lua library which contains mathematical functions and constants that you can use in scripts. | ||
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.abs math.abs] | * [http://www.lua.org/manual/5.2/manual.html#pdf-math.abs math.abs] |
Revision as of 18:19, 10 April 2012
Math is a built-in Lua library which contains mathematical functions and constants that you can use in scripts.
- 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.huge (constant)
- math.ldexp
- math.log
- math.log10
- math.max
- math.min
- math.modf
- math.pi (constant)
- math.pow
- math.rad
- math.random
- math.randomseed
- math.sin
- math.sinh
- math.sqrt
- math.tanh
- math.tan