PostGIS  3.4.0dev-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 373 of file gserialized_estimate.c.

374 {
375  int i;
376  float total = 0;
377  /* Calculate total */
378  for ( i = 0; i < nvals; i++ )
379  total += vals[i];
380 
381  return total;
382 }

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: