Module:ET: Difference between revisions

Sintel (talk | contribs)
revert removing phi, e, pi
ArrowHead294 (talk | contribs)
Replace rational approximations with exact values. Is this working?
Line 11: Line 11:
["3"] = "t",
["3"] = "t",
["3/1"] = "t",
["3/1"] = "t",
-- TODO: these should not be here
["987/610"] = "ϕ",
["1264/465"] = "n",
["355/113"] = "π",
}
}


Line 24: Line 19:


-- TODO: these should not be here
-- TODO: these should not be here
["ϕ"] = rat.new(987, 610),
["ϕ"] = (1 + math.sqrt(5)) / 2,
["n"] = rat.new(1264, 465),
["n"] = math.exp(1),
["π"] = rat.new(355, 113),
["π"] = math.pi
}
}