Module:Interval table: Difference between revisions
m Change from log2 to ln |
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.log(et.size)/math.log(2/3)) * et.size))+5) | ||
then | then | ||
wikitext = wikitext .. "[[" .. ratios_list[j][1] .. "/" .. ratios_list[j][2] .. "]], " | wikitext = wikitext .. "[[" .. ratios_list[j][1] .. "/" .. ratios_list[j][2] .. "]], " | ||