Long multiplication: Difference between revisions

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