Module:ET: Difference between revisions
Tag: Undo |
Approximating with 0edo |
||
Line 107: | Line 107: | ||
towards = towards or 0 | towards = towards or 0 | ||
if et.size == 0 then | if et.size == 0 then | ||
return nil | return ratio.inf and nil or 0 | ||
end | end | ||
local exact = math.log(ratio) / math.log(rat.as_float(et.equave)) * et.size | local exact = math.log(ratio) / math.log(rat.as_float(et.equave)) * et.size |