Anonymous user
Lucas-Lehmer test: Difference between revisions
m
→{{header|REXX}}: changed the '''output''' wording. -- ~~~~
m (→{{header|REXX}}: corrected verb conjugation, added comments, changed (title) header, added whitespace, enforced correct numeric form (scientific), added DO-END comment labels. -- ~~~~) |
m (→{{header|REXX}}: changed the '''output''' wording. -- ~~~~) |
||
Line 1,172:
if j*j>x then return 1 /*past the sqrt of X? It's prime*/
end /*j*/</lang>
'''output''' when the following is used for input: <tt> 10000 </tt>
<pre style="overflow:scroll">
══════════════════════════list═══════════════════════════
|