Jump to content

Perfect numbers: Difference between revisions

m
→‎{{header|REXX}}: elided a comment concerning an optimization that was removed earlier, the condition for the optimization was too rare to warrent a test.
m (→‎{{header|360 Assembly}}: Superfluous blanks suppressed)
m (→‎{{header|REXX}}: elided a comment concerning an optimization that was removed earlier, the condition for the optimization was too rare to warrent a test.)
Line 1,789:
:::*   testing bypasses the test of the first and last factors
:::*   the ''corresponding factor'' is used when a factor is found
:::*   testing is stopped if the sum of the factors exceeds   '''X'''
<lang rexx>/*REXX program tests if a number (or a range of numbers) is/are perfect. */
parse arg low high . /*obtain optional arguments from the CL*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.