[ANN] Bugfix Release for FixedPoint
doug.fort at verizon.net
Fri Oct 11 00:53:41 CEST 2002
FixedPoint release 0.1.1
This is the the third SourceForge release for the FixedPoint math object.
This is a (hasty) bugfix release for 0.1.0
We discovered that my alternative rounding algorithm didn't behave
correctly for negative quotients.
Tim, the original author recommended making _roundQuotient a member of
FixedPoint, enabling the rounding algorithm to become a normal member,
rather than a static member.
While refactoring, I changed the name from 'RoundingAlgorithm'
to the less verbose 'round'.
So instead of
from fixedpoint import FixedPoint, BankersRounding
FixedPoint.RoundingAlgorithm = staticmember(BankersRounding)
you can say
from fixedpoint import FixedPoint, bankersRounding
FixedPoint.round = bankersRounding
We got a good description of rounding philosphy from Tim in an email.
Joe has incorporated this in the documentation.
There's a link to HTML rendering of the LaTex documentation at the
This release (really truly) concludes our planned changes to FixedPoint.
We're going to sit back and watch for bug reports and feature
requests, but we won't mess with the code anymore without
Doug Fort, Programmer
More information about the Python-list