Files
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

6 lines
143 B
C

double mean(const double *x, long n) {
double total = 0.0;
for (long i = 0; i < n; i++) total += x[i];
return total / (double)n;
}