Run
import math x = [math.inf, 5, 3.2] result = math.fsum(x) print('fsum(x) :', result)
Output