Move all annotation files into library/ folder (for LuaLS/LLS-Addons).

This commit is contained in:
Alexander Chibrikin
2025-10-07 22:31:30 +03:00
parent f354d6bd0c
commit 61337d5f3d
43 changed files with 0 additions and 0 deletions

View File

@@ -1,35 +0,0 @@
--- @diagnostic disable: missing-return
--- Get the hypotenuse of a triangle with legs x and y. Useful for distance calculation.
---
--- @param x number
--- @param y number
---
--- @return number
function math.hypot(x, y) end
--- Get the sign of given number `x`.
--- - returns `-1`, `0` or `1`
--- - if the absolute value of x is within the tolerance or x is NaN, 0 is returned.
---
--- @param x number
--- @param tolerance? number default: `0.0`
---
--- @return number
function math.sign(x, tolerance) end
--- Returns the factorial of `x`.
---
--- @param x number
---
--- @return number
function math.factorial(x) end
--- Returns x rounded to the nearest integer.
--- - At a multiple of 0.5, rounds away from zero.
---
--- @param x number
---
--- @return number
function math.round(x) end