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/075866.html below:

[Python-Dev] Return type of round, floor, and ceil in 2.6

[Python-Dev] Return type of round, floor, and ceil in 2.6skip at pobox.com skip at pobox.com
Fri Jan 4 18:25:32 CET 2008
    Guido> Rounding 0.5 to 0 is a new fad, called round-to-even, or
    Guido> statistician's rounding.  Read
    Guido> http://en.wikipedia.org/wiki/Rounding .  It's a standard, and
    Guido> more correct when doing statistical calculations.  That's why
    Guido> we've chosen it for Python 3.0. But it should not bleed into
    Guido> Python 2.6.

Thanks for the pointer.  Given that it's been an ASTM standard since 1940
and apparently in fairly common use since the early 1900s, I wonder why it's
not been more widely used in the past in programming languages.

Skip
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