This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients fredrikj, mark.dickinson, pitrou, rhettinger, skip.montanaro, terry.reedy, vstinner
Date 2008-12-16.21:00:29
SpamBayes Score 1.353243e-05
Marked as misclassified No
Message-id <1229461230.96.0.8200809756.issue3439@psf.upfronthosting.co.za>
In-reply-to
Content
Looks good.  Marking as accepted.

Before applying, consider adding back the part of the docs with the '1 +
floor(...' definition.  I think it provides a useful alternative way to
look at what the method does.  Also, it gives a useful mathematical
expression that can be used in reasoning about invariants.  More
importantly, we should provide it because it is so easy to make a
mistake when rolling your own version of the formula (i.e. using ceil
instead of floor or having an off by one error).
History
Date User Action Args
2008-12-16 21:00:31rhettingersetrecipients: + rhettinger, skip.montanaro, terry.reedy, mark.dickinson, pitrou, vstinner, fredrikj
2008-12-16 21:00:30rhettingersetmessageid: <1229461230.96.0.8200809756.issue3439@psf.upfronthosting.co.za>
2008-12-16 21:00:30rhettingerlinkissue3439 messages
2008-12-16 21:00:29rhettingercreate