Math
From GMod Wiki
Mathematics.
This is a standard Lua 5.1 library. More documentation may be found in the Lua 5.1 Reference Manual at http://www.lua.org/manual/5.1/manual.html#5.6
Library Functions
math.abs
math.acos
math.AngleDifference
math.Approach
math.ApproachAngle
math.asin
math.atan
math.atan2
math.BinToInt
math.BSplinePoint
math.calcBSplineN
math.ceil
math.Clamp
math.cos
math.cosh
math.deg
math.Deg2Rad
math.Dist
math.Distance
math.EaseInOut
math.exp
math.floor
math.fmod
math.frexp
math.huge
math.IntToBin
math.ldexp
math.log
math.log10
math.Max
math.max
math.min
math.Min
math.modf
math.NormalizeAngle
math.pi
math.pow
math.rad
math.Rad2Deg
math.Rand
math.random
math.randomseed
math.Round
math.sin
math.sinh
math.sqrt
math.tan
math.tanh
math.TimeFraction