Jump to content

Long multiplication: Difference between revisions

m
→‎version 1: reduced initial number of decimal digits.
m (→‎version 1: fixed a typo.)
m (→‎version 1: reduced initial number of decimal digits.)
Line 3,827:
Programming note: &nbsp; <big>&&</big> &nbsp; is REXX's &nbsp; '''exclusive or''' &nbsp; operand.
<lang rexx>/*REXX program performs long multiplication on two numbers (without the "E"). */
numeric digits 3000300 /*be able to handle gihugeic input #s. */
parse arg x y . /*obtain optional arguments from the CL*/
if x=='' | x=="," then x=2**64 /*Not specified? Then use the default.*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.