Lines Matching refs:_sum
1233 T, value, n = statistics._sum(*args)
1244 self.func = statistics._sum
1299 self.assertEqual(statistics._sum([1, 1e100, 1, -1e100]*10000),
1301 self.assertEqual(statistics._sum([1e100, 1, 1, -1e100]*10000),
1303 T, num, count = statistics._sum([1e-100, 1, 1e-100, -1]*10000)
1315 result = statistics._sum([1, nan, 2])[1]
1328 result = statistics._sum([1, 2, inf, 3])[1]
1331 result = statistics._sum([1, 2, inf, 3, inf, 4])[1]
1347 result = statistics._sum([1, 2, inf, 3, -inf, 4])[1]
1355 self.assertTrue(math.isnan(statistics._sum(data)[1]))
1362 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)
1368 self.assertRaises(decimal.InvalidOperation, statistics._sum, data)