Sorting algorithms/Insertion sort: Difference between revisions
Sorting algorithms/Insertion sort (view source)
Revision as of 15:28, 29 December 2017
, 6 years ago→{{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)
|