Module:Interval table: Difference between revisions

BudjarnLambeth (talk | contribs)
m Undo revision 157445 by BudjarnLambeth (talk)
Tag: Undo
BudjarnLambeth (talk | contribs)
m Undo revision 157444 by BudjarnLambeth (talk)
Tag: Undo
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)/math.log(2/3)) * et.size))+5)
< (1200 / (math.log(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] .. "]], "