aboutsummaryrefslogtreecommitdiff
path: root/library/lullaby/math.lua
blob: 487a3c52dabee3827423ae27d7a33c68630ad1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---@meta

---@class math
local math = {}

---@param N number[]
---@return integer
function math.lcm(N) end

---all results are inclusive
---() : from 0.0 to 1.0
---(M) : from 1 to M
---(M, N) : from M to N
---@param M integer?
---@param N integer?
---@return integer|number
function math.random(M, N) end

return math