PostGIS 3.7.0dev-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 781 of file rt_statistics.c.

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

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: