Arbitrary precision integer arithmetic: ceiling?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sat Mar 8 21:30:58 EST 2008


On Sun, 09 Mar 2008 01:48:21 +0000, Steven D'Aprano wrote:

> (And the ease that these mistakes can happen is why such fundamental
> functions should be in the standard library, no matter how easy they are
> to implement.)

Which, of course, they are.

math.ceil() and math.floor()

I knew that. *cough*

-- 
Steven



More information about the Python-list mailing list