Long-multiplication

command
v0.0.0-...-df006db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Long multiplication per WP article referenced by task description. That is, multiplicand is multiplied by single digits of multiplier to form intermediate results. Intermediate results are accumulated for the product. Used here is the abacus method mentioned by the article, of summing intermediate results as they are produced, rather than all at once at the end.

Limitations: Negative numbers not supported, superfluous leading zeros not generally removed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL