TEOS-10 / GSW-C

C implementation of the Thermodynamic Equation Of Seawater - 2010 (TEOS-10)
Other
18 stars 17 forks source link

switch from qsort_[rs] to qsort #18

Closed dankelley closed 7 years ago

dankelley commented 7 years ago

Switching to qsort instead of one of the three alternatives has the advantage of making the code universal across compilers and machines, removing the need for machine-specific #if code blocks. Those blocks are brittle to the addition of new machines/compilers to the support list.

This has been discussed at https://github.com/TEOS-10/GSW-R/issues/41#issuecomment-320594946