prometheus/promql/promqltest
Bryan Boreham ea82b49c33 [ENHANCEMENT] PromQL: use Kahan summation for sum()
This can give a more precise result, by keeping a separate running
compensation value to accumulate small errors.

See https://en.wikipedia.org/wiki/Kahan_summation_algorithm

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-05-09 14:29:38 +01:00
..
testdata [ENHANCEMENT] PromQL: use Kahan summation for sum() 2024-05-09 14:29:38 +01:00
test.go test: PromQL: stop using internal fields of engine 2024-05-08 19:58:41 +01:00
test_test.go refactor: Move NewTestEngine into promqltest 2024-05-08 16:07:28 +01:00