Definition at line 40 of file rt_statistics.c.
40 {
42
43 l = *left;
44 m = *(left + (right - left) / 2);
46
47
51
52
53 if (l < m) return m;
55
56
57 for (p = left + 1; p <= right; ++p) {
58 if (*p != *left)
59 return (*p < *left) ? *left : *p;
60 }
61
62
63 return -1;
64}
References ORDER, and r.
Referenced by lwgeom_subdivide_recursive(), partition(), and quicksort().