PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ total_double()

static double total_double ( const double *  vals,
int  nvals 
)
static

Given double array, return sum of values.

Definition at line 363 of file gserialized_estimate.c.

364 {
365  int i;
366  float total = 0;
367  /* Calculate total */
368  for ( i = 0; i < nvals; i++ )
369  total += vals[i];
370 
371  return total;
372 }

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: