Special pythagorean triplet: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: incorporated optimizations for another Rosetta Code task: Pythagorean triples, added support to (only) find 1 (or any number) of solutions.) |
m (→smarter (166 iterations): <del>/exit</del>) |
||
Line 177: | Line 177: | ||
</pre> |
</pre> |
||
=== smarter (166 iterations) === |
=== smarter (166 iterations) === |
||
It would of course be 100 iterations if we quit |
It would of course be 100 iterations if we quit once found. |
||
<!--<lang Phix>(phixonline)--> |
<!--<lang Phix>(phixonline)--> |
||
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span> |
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span> |