use correct DOUBLE_PRECISION_SOURCES definition portably define qsort argument in tests fix test_location add test_location to double sources