summaryrefslogtreecommitdiff
path: root/server/libs/lua/math.lni
diff options
context:
space:
mode:
Diffstat (limited to 'server/libs/lua/math.lni')
-rw-r--r--server/libs/lua/math.lni61
1 files changed, 60 insertions, 1 deletions
diff --git a/server/libs/lua/math.lni b/server/libs/lua/math.lni
index cd24c094..4098d29e 100644
--- a/server/libs/lua/math.lni
+++ b/server/libs/lua/math.lni
@@ -40,7 +40,31 @@ type = 'number'
[[.returns]]
type = 'number'
-[atan]
+["atan Lua 5.1"]
+name = 'atan'
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'y'
+type = 'number'
+[[.returns]]
+type = 'number'
+
+["atan Lua 5.3"]
+name = 'atan'
+version = {'Lua 5.3', 'Lua 5.4'}
+[[.args]]
+name = 'y'
+type = 'number'
+``````````
+name = 'x'
+type = 'number'
+optional = 'self'
+default = 1
+[[.returns]]
+type = 'number'
+
+[atan2]
+version = {'Lua 5.1', 'Lua 5.2'}
[[.args]]
name = 'y'
type = 'number'
@@ -66,6 +90,14 @@ type = 'number'
[[.returns]]
type = 'number'
+[cosh]
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'x'
+type = 'number'
+[[.returns]]
+type = 'number'
+
[deg]
[[.args]]
name = 'x'
@@ -148,6 +180,17 @@ type = 'number'
[pi]
type = 'number'
+[power]
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'x'
+type = 'number'
+``````````
+name = 'y'
+type = 'number'
+[[.returns]]
+type = 'number'
+
[rad]
[[.args]]
name = 'x'
@@ -192,6 +235,14 @@ type = 'number'
[[.returns]]
type = 'number'
+[sinh]
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'x'
+type = 'number'
+[[.returns]]
+type = 'number'
+
[sqrt]
[[.args]]
name = 'x'
@@ -206,6 +257,14 @@ type = 'number'
[[.returns]]
type = 'number'
+[tanh]
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'x'
+type = 'number'
+[[.returns]]
+type = 'number'
+
[tointeger]
[[.args]]
name = 'x'