Arbitrary precision integer arithmetic: ceiling?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Mar 9 00:55:36 EST 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.


-- 
Steven



More information about the Python-list mailing list