Ethiopian multiplication: Difference between revisions
Content added Content deleted
(Clojure comes BEFORE Coldfusion :-) .) |
(Lua comes BEFORE Metafont :-) .(What does this say about the average RC'er?)) |
||
Line 1,060: | Line 1,060: | ||
[output eproduct halve :x double :y] ~ |
[output eproduct halve :x double :y] ~ |
||
[output :y + eproduct halve :x double :y] |
[output :y + eproduct halve :x double :y] |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
end</lang> |
end</lang> |
||
Line 1,114: | Line 1,091: | ||
print(ethiopian(17, 34))</lang> |
print(ethiopian(17, 34))</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|MATLAB}}== |
=={{header|MATLAB}}== |