68 f64 d, delta_d, actual_frequency, expected_frequency;
69 u64 n_observations = 0;
80 n_observations += values[
i];
82 expected_frequency = (1.0 / (
f64)
len) * (
f64) n_observations;
88 actual_frequency = ((
f64) values[
i]);
89 delta_d = ((actual_frequency - expected_frequency)
90 * (actual_frequency - expected_frequency))