[Python-Dev] trunc()

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Sat Jan 26 10:17:42 CET 2008


-On [20080126 09:43], Georg Brandl (g.brandl at gmx.net) wrote:
>Paul Moore schrieb:
>> - int() has to stay in builtins for obvious reasons.
>> - put *all* of trunc, ceil, floor, round into math.
>
>That, and making int(float) == int(trunc(float)) seems like reasonable
>behavior to me as a person not involved in the discussion.

+1 from my side for the above.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...


More information about the Python-Dev mailing list