def frsum(iterable):
    "Full precision summation using fractions for itermediate values"
    return float(sum(imap(Fraction.from_float, iterable)))
Full precision summation using fractions for itermediate values
recipes/Python/393090_Binary_floating_point_summatiaccurate_full/recipe-393090.py