From 07219cbb20a46fbad86c4145710ebd976b54e138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 21 Dec 2021 19:52:16 +0800 Subject: #871 fix return type of `math.floor` --- meta/template/math.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/template') diff --git a/meta/template/math.lua b/meta/template/math.lua index f987eb0b..d9837424 100644 --- a/meta/template/math.lua +++ b/meta/template/math.lua @@ -87,7 +87,7 @@ function math.exp(x) end ---#DES 'math.floor' ---@param x number ----@return number +---@return integer ---@nodiscard function math.floor(x) end -- cgit v1.2.3