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/2004-April/044548.html below:

[Python-Dev] Re: Decimal data type issues

[Python-Dev] Re: Decimal data type issues [Python-Dev] Re: Decimal data type issuesTim Peters tim.one at comcast.net
Thu Apr 22 19:52:50 EDT 2004
[Tim Delaney]
> Perhaps the built-in round should be modified to work with Decimal ...

Eventually, it should -- and many other changes throughout Python, outside
of Decimal, should also be made.  That won't happen for the first release,
though, and possibly never if Decimal doesn't become popular.

Examples:

+ Float format codes, like %20.6g, make fine sense for Decimal, but
  feeding them Decimals won't do any good.

+ A Decimal version of the math module doesn't exist.

+ Looking up context all the time is expensive, and should eventually
  become part of CPython's C-level thread state (much as your FPU's
  context register(s) are part of your C's runtime thread state).



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