Heronian triangles: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: adjusted the REXX statement number mentioned. |
m →{{header|REXX}}: quantified the optimization (before and after). |
||
Line 1,269:
Also, a fair amount of code was added to optimize the speed (at the expense of program simplicity); by thoughtful ordering of
<br>the "elimination" checks, and also the use of an integer version of a SQRT subroutine, the execution time was greatly reduced
<br>(by a factor of six).
Note that the '''iSQRT''' subroutine doesn't use floating point.
|