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/2001-August/016519.html below:

[Python-Dev] Revised decimal type PEP

[Python-Dev] Revised decimal type PEP [Python-Dev] Revised decimal type PEPAahz Maruch aahz@rahul.net
Tue, 31 Jul 2001 16:55:26 -0700 (PDT)
Guido van Rossum wrote:
> 
> int/long < decimal < rational < float < complex
> \---------------------------/   \-------------/
>             exact                  inexact

Note that in Cowlishaw's implementation of decimal numbers, decimals are
*not* exact.  Truncation (rounding), overflow, and underflow errors can
occur under addition, subtraction, and multiplication.  It's trivial to
set them to be unbounded, but then Cowlishaw provides no mechanism for
determining the truncation of division.
-- 
                      --- Aahz (@pobox.com)

Hugs and backrubs -- I break Rule 6       <*>       http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista

I don't really mind a person having the last whine, but I do mind someone 
else having the last self-righteous whine.



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