Long multiplication: Difference between revisions

Content added Content deleted
(→‎{{header|PL/M}}: Replaced PLM286 version with one that can be compiled with the original 8080 PL/M compiler and run under CP/M (or an emulator).)
Line 4,414: Line 4,414:


=={{header|PL/M}}==
=={{header|PL/M}}==
Based on the Algol W sample, Uses bytes instead of integers to hold the digits.
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 plm>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 */