Long multiplication: Difference between revisions
→{{header|PL/M}}
(→{{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:
=={{header|PL/M}}==
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 */
/* LARGE INTEGERS ARE REPRESENTED BY ARRAYS OF BYTES WHOSE VALUES ARE */
|