summaryrefslogtreecommitdiff
path: root/server/locale/en-US/libs
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-17 21:57:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-17 21:57:08 +0800
commitb33e7690c9d09a96e2a2eb10f1856edbd8953603 (patch)
treebae5664dffe97d8e03f815eecc103c38b0b348ee /server/locale/en-US/libs
parentce6c6fedb4f6f7ebff29e7a23a4832d665d32595 (diff)
downloadlua-language-server-b33e7690c9d09a96e2a2eb10f1856edbd8953603.zip
更辛苦
Diffstat (limited to 'server/locale/en-US/libs')
-rw-r--r--server/locale/en-US/libs/lua53/math.lni96
1 files changed, 95 insertions, 1 deletions
diff --git a/server/locale/en-US/libs/lua53/math.lni b/server/locale/en-US/libs/lua53/math.lni
index 11c3e480..b704b143 100644
--- a/server/locale/en-US/libs/lua53/math.lni
+++ b/server/locale/en-US/libs/lua53/math.lni
@@ -1 +1,95 @@
-[math]
+[abs]
+description = 'Returns the absolute value of `x`.'
+
+[acos]
+description = 'Returns the arc cosine of `x` (in radians).'
+
+[asin]
+description = 'Returns the arc sine of `x` (in radians).'
+
+[atan]
+description = 'Returns the arc tangent of `y/x` (in radians).'
+
+[ceil]
+description = 'Returns the smallest integral value larger than or equal to `x`.'
+
+[cos]
+description = 'Returns the cosine of `x` (assumed to be in radians).'
+
+[deg]
+description = 'Converts the angle `x` from radians to degrees.'
+
+[exp]
+description = 'Returns the value `e^x` (where `e` is the base of natural logarithms).'
+
+[floor]
+description = 'Returns the largest integral value smaller than or equal to `x`.'
+
+[fmod]
+description = 'Returns the remainder of the division of `x` by `y` that rounds the quotient towards zero.'
+
+[huge]
+description = 'A value larger than any other numeric value.'
+
+[log]
+description = 'Returns the logarithm of `x` in the given base.'
+
+[max]
+description = 'Returns the argument with the maximum value, according to the Lua operator `<`.'
+
+[maxinteger]
+description = 'An integer with the maximum value for an integer.'
+
+[min]
+description = 'Returns the argument with the minimum value, according to the Lua operator `<`.'
+
+[mininteger]
+description = 'An integer with the minimum value for an integer.'
+
+[modf]
+description = 'Returns the integral part of `x` and the fractional part of `x`.'
+
+[pi]
+description = 'The value of `π`.'
+
+[rad]
+description = 'Converts the angle `x` from degrees to radians.'
+
+[random]
+description = [[
+* `math.random()`: Returns a float in the range [0,1).
+* `math.random(n)`: Returns a integer in the range [1, n].
+* `math.random(m, n)`: Returns a integer in the range [m, n].
+]]
+
+[randomseed]
+description = 'Sets `x` as the "seed" for the pseudo-random generator.'
+
+[sin]
+description = 'Returns the sine of `x` (assumed to be in radians).'
+
+[sqrt]
+description = 'Returns the square root of `x`.'
+
+[tan]
+description = 'Returns the tangent of `x` (assumed to be in radians).'
+
+[tointeger]
+description = 'If the value `x` is convertible to an integer, returns that integer.'
+
+[type]
+[[.enums]]
+name = 'type'
+enum = 'integer'
+description = '`x` is an integer.'
+[[.enums]]
+name = 'type'
+enum = 'float'
+description = '`x` is a float.'
+[[.enums]]
+name = 'type'
+code = 'nil'
+description = '`x` is not a number.'
+
+[ult]
+description = 'Returns `true` if and only if `m` is below `n` when they are compared as unsigned integers.'