[Python-Dev] trunc()

Raymond Hettinger python at rcn.com
Sun Jan 27 21:12:43 CET 2008


[GvR]
>> > - trunc(), round(), floor() and ceil() should all be built-ins,
>> > corresponding to __trunc__, __round__, __floor__ and __ceil__. 

In Py2.6, what will the signatures be?
Last I heard, ceil() and floor() were still going to be float-->float.

Raymond


More information about the Python-Dev mailing list