Long multiplication: Difference between revisions

m
→‎{{header|PL/M}}: Added syntax highlighting
m (→‎{{header|PL/M}}: Added syntax highlighting)
Line 4,423:
=={{header|PL/M}}==
Based on the Algol W sample, Uses bytes instead of integers to hold the digits. Ony handles positive numbers.
<lang plmpli>100H: /* LONG MULTIPLICATION OF LARGE INTEGERS */
/* LARGE INTEGERS ARE REPRESENTED BY ARRAYS OF BYTES WHOSE VALUES ARE */
/* A SINGLE DECIMAL DIGIT OF THE NUMBER */
3,021

edits