This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -depth -name 'CVS' -exec rm -rf '{}' \; -print |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Russian do | |
require Integer | |
use Bitwise | |
@doc ~S""" | |
Multiply two integer using the Russian Peasant Algorithm | |
## Examples | |
iex> Russian.mult(5,3) | |
15 | |
""" |