A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044321.html below:

[Python-Dev] Decimal data type issues

[Python-Dev] Decimal data type issues [Python-Dev] Decimal data type issuesTim Delaney tcdelaney at optusnet.com.au
Fri Apr 16 04:01:22 EDT 2004
Edward Loper wrote:

> As long as the limits are soft (and can be changed), I won't object
> too
> strenuously, because someone who wanted extremely large/small numbers
> could use them.  But...
>
>    - I do believe that there will be use cases for exponents outside
>      this range.  Just because there's no physical quantities that are
>      reasonably measured with these numbers, doesn't mean that there
>      won't be abstract quantities that are reasonably measured with
>      huge numbers.

There's no reason that if these use cases become common enough to care
about, that a future version of Python couldn't increase or eliminate the
limits. It's a lot easier to remove limits (e.g. the int/long unification)
than to add them.

I'm +0 on having the limits there initially, even if they complicate the
implementation somewhat. I'm highly unlikely to ever encounter them, just as
I've never produced a long large enough to cause problems.

Tim Delaney




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