A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-January/076474.html below:

[Python-Dev] [python] trunc()

[Python-Dev] [python] trunc() [Python-Dev] [python] trunc()"Martin v. Löwis" martin at v.loewis.de
Fri Jan 25 00:46:43 CET 2008
> If the ambiguity is that 'int' behaviour is unspecified for floats - is 
> it naive to suggest we specify the behaviour?

The concern is that whatever gets specified is arbitrary. There are many
ways how an int can be constructed from a float, so why is any such way
better than the others, and deserves to be the meaning of int()?

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4