Module:Q-odd-limit intervals: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 1: Line 1:
bit32 = require("bit32")
bit32 = require("bit32")
utils = require("Module:Utils")
utils = require("Module:Utils")
ET = require("Module:ET")
limits = require("Module:Limits")
limits = require("Module:Limits")


Line 174: Line 175:
local steps = tonumber(frame.args["steps"])
local steps = tonumber(frame.args["steps"])
local limit = math.max(tonumber(frame.args["limit"]), 2)
local limit = math.max(tonumber(frame.args["limit"]), 2)
local constcy = limits.consistency_limit(steps .. "edo", false, 43)
local constcy = limits.consistency_limit(ET.parse(steps .. "edo"), false, 43)
-- local prec = tonumber (frame.args['prec']) or prec_by_equal (steps)
-- local prec = tonumber (frame.args['prec']) or prec_by_equal (steps)
local note = frame.args["note"]
local note = frame.args["note"]