PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ quantile_llist_search()

static struct quantile_llist_element * quantile_llist_search ( struct quantile_llist_element element,
double  needle 
)
static

Definition at line 780 of file rt_statistics.c.

783 {
784 if (NULL == element)
785 return NULL;
786 else if (FLT_NEQ(needle, element->value)) {
787 if (NULL != element->next)
788 return quantile_llist_search(element->next, needle);
789 else
790 return NULL;
791 }
792 else
793 return element;
794}
#define FLT_NEQ(x, y)
Definition librtcore.h:2423
static struct quantile_llist_element * quantile_llist_search(struct quantile_llist_element *element, double needle)
struct quantile_llist_element * next
Definition librtcore.h:2604

References FLT_NEQ, quantile_llist_element::next, quantile_llist_search(), and quantile_llist_element::value.

Referenced by quantile_llist_search(), and rt_band_get_quantiles_stream().

Here is the call graph for this function:
Here is the caller graph for this function: