Largest int from concatenated ints: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: corrected an error that was introduced into1st and 2nd programs that was overlooked 'til W.P. noticed it.)
m (→‎exponentiated integers: added a comment to the REXX section header.)
Line 1,995: Line 1,995:


The default for REXX is   '''9'''   decimal digits.
The default for REXX is   '''9'''   decimal digits.

This REXX version can handle any sized integer   (most REXXes can handle up to around eight million decimal
<br>digits, &nbsp; but displaying the result would be problematic for results wider than the display area).
<lang rexx>/*REXX program constructs the largest integer from an integer list using concatenation.*/
<lang rexx>/*REXX program constructs the largest integer from an integer list using concatenation.*/
@.=.; @.1 = '{1, 34, 3, 98, 9, 76, 45, 4}' /*the 1st integer list to be used. */
@.=.; @.1 = '{1, 34, 3, 98, 9, 76, 45, 4}' /*the 1st integer list to be used. */