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/2002-October/029061.html below:

PEP239 (Rational Numbers) Reference Implementation and new issues

[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues [Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issuesGuido van Rossum guido@python.org
Wed, 02 Oct 2002 20:22:52 -0400
> But those feelings are no proof of anything.  How do we get the
> confirmation that using rationals in Python would be easy going and
> innocuous in practice, beforehand?

By adding them to the language but as an isolated type.  The right
conversions should happen when you mix rationals with other types of
numbers (int/long -> rational -> float -> complex), but no operations
should return rationals unless a rational goes in.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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