Sorting algorithms/Insertion sort: Difference between revisions

→‎{{header|Fortran}}: acknowledging it does not make it correct: it is not
(→‎{{header|Fortran}}: Acknowledge the vagueness of the modern specification.)
(→‎{{header|Fortran}}: acknowledging it does not make it correct: it is not)
Line 1,194:
 
=={{header|Fortran}}==
{{incorrect|Fortran|The .AND. operator is not "short-circuit", hence the test "a(j)>temp" may crash the program}}
{{works with|Fortran|90 and later}}
<lang fortran>PURE SUBROUTINE Insertion_Sort(a)
1,336

edits