Miller–Rabin primality test: Difference between revisions
m
bugfix
m (→{{header|REXX}}: fixed HTML closing tag.) |
m (bugfix) |
||
Line 3,327:
or (ba_compare(ba_remainder(n,3),BA_ZERO)=0 and ba_compare(n,BA_THREE)!=0) then
return false
--bugfix 15/9/18:
elsif ba_compare(n,BA_THREE)<0 then▼
-- elsif ba_compare(n,BA_THREE)<0 then
▲ elsif ba_compare(n,BA_THREE)<=0 then
return true
end if
|