Long multiplication: Difference between revisions
Content added Content deleted
m (→version 1: fixed a typo.) |
m (→version 1: reduced initial number of decimal digits.) |
||
Line 3,827: | Line 3,827: | ||
Programming note: <big>&&</big> is REXX's '''exclusive or''' operand. |
Programming note: <big>&&</big> is REXX's '''exclusive or''' operand. |
||
<lang rexx>/*REXX program performs long multiplication on two numbers (without the "E"). */ |
<lang rexx>/*REXX program performs long multiplication on two numbers (without the "E"). */ |
||
numeric digits |
numeric digits 300 /*be able to handle gihugeic input #s. */ |
||
parse arg x y . /*obtain optional arguments from the CL*/ |
parse arg x y . /*obtain optional arguments from the CL*/ |
||
if x=='' | x=="," then x=2**64 /*Not specified? Then use the default.*/ |
if x=='' | x=="," then x=2**64 /*Not specified? Then use the default.*/ |