Module:Interval table: Difference between revisions

BudjarnLambeth (talk | contribs)
m Trying again
BudjarnLambeth (talk | contribs)
mNo edit summary
Line 135: Line 135:
t == i
t == i
and math.abs(ET.cents(et, i) - utils._log(ratios_list[j][1] / ratios_list[j][2], 2) * 1200)
and math.abs(ET.cents(et, i) - utils._log(ratios_list[j][1] / ratios_list[j][2], 2) * 1200)
< (1200 / (math.log(et.size) * et.size))
< (1200 / (math.log2(et.size) * et.size))
then
then
wikitext = wikitext .. "[[" .. ratios_list[j][1] .. "/" .. ratios_list[j][2] .. "]], "
wikitext = wikitext .. "[[" .. ratios_list[j][1] .. "/" .. ratios_list[j][2] .. "]], "