Anonymous user
Largest int from concatenated ints: Difference between revisions
Largest int from concatenated ints (view source)
Revision as of 22:49, 27 January 2018
, 6 years ago→exponentiated integers: added a comment to the REXX section header.
(→{{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:
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, 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.*/
@.=.; @.1 = '{1, 34, 3, 98, 9, 76, 45, 4}' /*the 1st integer list to be used. */
|