Ethiopian multiplication: Difference between revisions

m
Line 5,394:
if b is odd
add a to accumulator
halvedouble ba, doublehalve b a
delete a and b and convert a*b to floating point
|}
 
 
=={{header|Ruby}}==
1,149

edits