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