Module:ET: Difference between revisions

ArrowHead294 (talk | contribs)
Replace rational approximations with exact values. Is this working?
ArrowHead294 (talk | contribs)
m Clear TODOs
Line 2: Line 2:
local seq = require("Module:Sequence")
local seq = require("Module:Sequence")
local p = {}
local p = {}
-- TODO: we should not represent the equave as a rational number at all


local common_suffix = {
local common_suffix = {
Line 17: Line 15:
["o"] = 2,
["o"] = 2,
["t"] = 3,
["t"] = 3,
-- TODO: these should not be here
["ϕ"] = (1 + math.sqrt(5)) / 2,
["ϕ"] = (1 + math.sqrt(5)) / 2,
["n"] = math.exp(1),
["n"] = math.exp(1),