Jump to content

Law of cosines - triples: Difference between revisions

m
→‎{{header|REXX}}: updated the 2nd output.
(→‎{{header|REXX}}: optimized DO loops (using FOR), implemented the use of commas in large numbers, moved each set of computation to subroutines, added memoizations, changed whitespace and comments.)
m (→‎{{header|REXX}}: updated the 2nd output.)
Line 1,958:
Note that the first three computations are bypassed because of the three zero ('''0''') numbers,   the negative ten thousand indicates to find all the triangles with sides up to 10,000,   but not list the triangles, it just reports the   ''number''   of solutions found.
<pre>
══════════════════════════ 60º unique═══════════════════════════unique ══════════════════════════
18,394 solutions found for 60º unique (sides up to 10,000)
</pre>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.