aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/go-metrics/helpers.go
blob: 68b7f51b3383516db54b0ac48449dc775489ffc5 (plain)
1
2
3
4
5
6
7
8
9
10
package metrics

func sumFloat64(vs ...float64) float64 {
	var sum float64
	for _, v := range vs {
		sum += v
	}

	return sum
}