Square form factorization: Difference between revisions

m
→‎{{header|REXX}}: changed a comment in the REXX section header.
m (→‎{{header|REXX}}: added a comment to the REXX section header.)
m (→‎{{header|REXX}}: changed a comment in the REXX section header.)
Line 692:
at   [https://en.wikipedia.org/wiki/Shanks%27s_square_forms_factorization Shanks' square forms factorization].
 
The only "failure" of this REXX version of Shanks' square forms factorization is  because(when using the number being tested is anumbers primesupplied
within the
<br>(1,002,742,628,021).
<br>REXX program) &nbsp; is because the number being tested is a prime &nbsp; (1,002,742,628,021).
<lang rexx>/*REXX pgm factors an integer using Daniel Shanks' (1917-1996) square form factorization*/
numeric digits 100 /*ensure enough decimal digits.*/