Ethiopian multiplication: Difference between revisions

Content added Content deleted
(→‎{{header|VBScript}}: Change sub-headings to bold as this shortens table of contents.)
Line 1,714: Line 1,714:
temp := temp + plicand;
temp := temp + plicand;
end if;
end if;
exit when plier <= 1;
plier := half(plier);
plier := half(plier);
plicand := double(plicand);
plicand := double(plicand);
exit when plier <= 1;
end loop;
end loop;

temp := temp + plicand;


return temp;
return temp;