sum for sequences?

Patrick Maupin pmaupin at gmail.com
Tue Mar 30 11:31:25 EDT 2010


On Mar 30, 8:53 am, Mel <mwil... at the-wire.com> wrote:
> floats are nasty -- as evidence the recent thread on comparing floats for
> equality.  People use floats when they have to.  fsum exists because of
> this:

...

I understand there are technical reasons for why math.fsum() exists.
I still think that whatever math.fsum() does should probably be a part
of sum().

Regards,
Pat



More information about the Python-list mailing list