Module:Rational: Difference between revisions

This used to work. Restore the old code with better documentation
m Oops
Line 589: Line 589:
if factor == 2 and reduced then
if factor == 2 and reduced then
-- pass (ignore factors of 2 for reduced subharmonic check)
-- pass (ignore factors of 2 for reduced subharmonic check)
elseif power < 0 then
elseif power > 0 then
return false
return false
end
end