diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-18 17:06:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-18 17:06:34 +0800 |
commit | ab27e9a9d62b00a779712fbb7bddd9f2910707a2 (patch) | |
tree | dc82a7a1bc252d82748e413b5f8b4243d7bcd085 /meta/template/math.lua | |
parent | 8b060037c9fd5961f8de6b9da674d5a29a77334e (diff) | |
download | lua-language-server-ab27e9a9d62b00a779712fbb7bddd9f2910707a2.zip |
可选参数尽量写在变量名后面,与其他语言保持一致
Diffstat (limited to 'meta/template/math.lua')
-rw-r--r-- | meta/template/math.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/template/math.lua b/meta/template/math.lua index ad008b0e..11dc6e9a 100644 --- a/meta/template/math.lua +++ b/meta/template/math.lua @@ -70,8 +70,8 @@ function math.frexp(x) end ---@return number function math.ldexp(m, e) end ----@param x number ----@param base integer? +---@param x number +---@param base? integer ---@return number function math.log(x, base) end @@ -110,8 +110,8 @@ function math.rad(x) end ---@return integer function math.random(m, n) end ----@param x integer? ----@param y integer? +---@param x? integer +---@param y? integer function math.randomseed(x, y) end ---@param x number |