Arbitrary precision integer arithmetic: ceiling?

Steven D'Aprano steve at
Sun Mar 9 06:55:36 CET 2008

On Sat, 08 Mar 2008 21:32:04 -0800, Paul Rubin wrote:

> I should have mentioned (a+b-1)//b expects a and b to be positive
> integers.

Oh, I don't think that would have made any difference. I think I'm seeing 
floats everywhere today, including coming out of the walls.


More information about the Python-list mailing list