summaryrefslogtreecommitdiff
path: root/server/libs/lua/math.lni
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-04-05 18:57:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-04-05 18:57:03 +0800
commit8cd1514556324eabcf1b96954afe53adfc2030b7 (patch)
treec9a8aa5f1f9913ea9bcde9f60de526732b679516 /server/libs/lua/math.lni
parent4f94d3500d6d7b6d082647359011d2ca103741db (diff)
downloadlua-language-server-8cd1514556324eabcf1b96954afe53adfc2030b7.zip
Lua 5.2 的API
Diffstat (limited to 'server/libs/lua/math.lni')
-rw-r--r--server/libs/lua/math.lni23
1 files changed, 23 insertions, 0 deletions
diff --git a/server/libs/lua/math.lni b/server/libs/lua/math.lni
index 4098d29e..4f807b0c 100644
--- a/server/libs/lua/math.lni
+++ b/server/libs/lua/math.lni
@@ -129,9 +129,32 @@ type = 'number'
[[.returns]]
type = 'number'
+[frexp]
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'x'
+type = 'number'
+[[.returns]]
+name = 'm'
+type = 'number'
+``````````
+name = 'e'
+type = 'number'
+
[huge]
type = 'number'
+[ldexp]
+version = {'Lua 5.1', 'Lua 5.2'}
+[[.args]]
+name = 'm'
+type = 'number'
+``````````
+name = 'e'
+type = 'integer'
+[[.returns]]
+type = 'number'
+
[log]
[[.args]]
name = 'x'