Heronian triangles: Difference between revisions

m
m (capitalized first word in a sentence in task's requirement comment.)
Line 681:
 
The REXX statement (line 22)     ''if pos(.,_)\==0''     isn't normally used for a general-purpose check if a number is an integer   (or not),
<br>this version was used because it's faster thenthan the usual statement: &nbsp; &nbsp; ''if \datatype(_,'Whole')'' &nbsp; &nbsp; and because the number is well-formed.
 
This REXX program doesn't need to explicitly sort the triangles.
2,300

edits