123.3 + 0.1 is 123.3999999999 ?

Tim Peters tim.one at comcast.net
Thu May 15 14:35:14 EDT 2003


[Fredrik Lundh]
> if Aahz didn't spend all his time arguing about object semantics,
> he might get around to finish his Decimal.py module:
>
>     http://starship.python.net/crew/aahz/Decimal.py
>
> which is based on Mike Cowlishaw (of REXX fame)'s work over at:
>
>     http://www2.hursley.ibm.com/decimal/
>
> there's also:
>
>     http://fixedpoint.sourceforge.net/
>
> and probably others that I cannot think of right now.

Time to update your notes:  Eric Price took over Aahz's module, and greatly
expanded it.  He says the current version passes the IBM test vectors.  The
current version lives in Python CVS's nondist/sandbox/decimal directory.






More information about the Python-list mailing list