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 &nbsp; SQRT &nbsp; subroutine, the execution time was greatly reduced.
<br>(by a factor of six).
 
Note that the &nbsp; '''iSQRT''' &nbsp; subroutine doesn't use floating point.