Lines Matching refs:_sum
1183 T, value, n = statistics._sum(*args)
1194 self.func = statistics._sum
1263 self.assertEqual(statistics._sum([1, 1e100, 1, -1e100]*10000),
1265 self.assertEqual(statistics._sum([1e100, 1, 1, -1e100]*10000),
1267 T, num, count = statistics._sum([1e-100, 1, 1e-100, -1]*10000)
1279 result = statistics._sum([1, nan, 2])[1]
1292 result = statistics._sum([1, 2, inf, 3])[1]
1295 result = statistics._sum([1, 2, inf, 3, inf, 4])[1]
1311 result = statistics._sum([1, 2, inf, 3, -inf, 4])[1]
1319 self.assertTrue(math.isnan(statistics._sum(data)[1]))
1326 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)
1332 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)