summaryrefslogtreecommitdiffstats
path: root/Doc/library/decimal.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-26256: Document algorithm speed for the Decimal module. (#4808)Cheryl Sabella2019-02-021-0/+20
|
* bpo-30055: add testcleanup to leave a fresh context (#1094)Marco Buttu2017-04-131-0/+5
|
* Issue #26331: Implement the parsing part of PEP 515.Brett Cannon2016-09-091-3/+7
| | | | Thanks to Georg Brandl for the patch.
* mergeRaymond Hettinger2016-08-131-5/+11
|\
| * Issue #27720: Fix error in eng_to_decimal docs and add examples from the ↵Raymond Hettinger2016-08-131-5/+11
| | | | | | | | | | | | specification. (Based on a first draft patch from Evelyn Mitchell.)
* | Issue #26462: Merge code block fixes from 3.5Martin Panter2016-07-291-1/+1
|\ \ | |/
| * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-1/+1
| | | | | | | | Patch by Julien Palard.
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+2
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+2
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | merge with 3.5Georg Brandl2016-02-261-3/+0
|\ \ | |/
| * Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-3/+0
| | | | | | | | to SilentGhost for the patch.
* | Issue #25928: Add Decimal.as_integer_ratio(). Python parts and docs byStefan Krah2015-12-281-0/+13
|/ | | | Mark Dickinson.
* Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-101-1/+1
|\
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
| |
* | Fix minor docs markup errors.Serhiy Storchaka2015-03-141-1/+1
|\ \ | |/
| * Fix minor docs markup errors.Serhiy Storchaka2015-03-141-1/+1
| |
* | Issue #10650: Remove the non-standard 'watchexp' parameter from theStefan Krah2014-04-301-9/+3
| | | | | | | | | | Decimal.quantize() method in the Python version. It had never been present in the C version.
* | #13437: link to the source code for a few more modulesAndrew Kuchling2014-03-191-1/+2
|/
* Issue #19794: Improved markup for True/False constants.Serhiy Storchaka2013-11-261-13/+13
|
* Issue #15783: Except for the number methods, the C version of decimal nowStefan Krah2012-12-151-41/+54
| | | | | supports all None default values present in decimal.py. These values were largely undocumented.
* Merge typo fix from 3.2.Mark Dickinson2012-11-181-1/+1
|\
| * Typo fix.Mark Dickinson2012-11-181-1/+1
| |
* | Issue #12005: merge doc patch from 3.2Mark Dickinson2012-11-181-0/+23
|\ \ | |/
| * Issue #12005: clarify behaviour of % and // for Decimal objects.Mark Dickinson2012-11-181-0/+23
| |
* | Issue #16348: merge fix from 3.2.Mark Dickinson2012-10-311-6/+15
|\ \ | |/
| * Issue #16348: Fix incorrect documentation for Decimal.remainder_near.Mark Dickinson2012-10-311-6/+15
| |
* | Closes #10650: Deprecate the watchexp parameter of Decimal.quantize().Stefan Krah2012-08-301-0/+5
| |
* | Use the same exception hierarchy as decimal.py. FloatOperation now alsoStefan Krah2012-03-231-1/+1
| | | | | | | | | | inherits from TypeError. Cleanup in module initialization to make repeated import failures robust.
* | Document decimal.MIN_ETINY.Stefan Krah2012-03-211-9/+12
| |
* | Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-211-29/+147
|/ | | | | up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.
* #13730 grammar fixTerry Jan Reedy2012-01-141-1/+1
|
* issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵Senthil Kumaran2011-07-041-1/+1
| | | | attribute and 'methods' where it denotes methods. Context should clarify usage.
* Issue #10225: Fixed the simple mistakes in doctests.Alexander Belopolsky2011-01-121-1/+1
|
* Issue #10813: Small improvement to decimal money format recipe.Raymond Hettinger2011-01-081-1/+2
|
* Fix capitalization.Mark Dickinson2010-11-211-2/+2
|
* Issue #7770: Note the useful range of sin/cos in the decimal module examples.Raymond Hettinger2010-11-211-0/+6
|
* Issue 10297: Add missing import in decimal example snippet.Mark Dickinson2010-11-071-0/+1
|
* Consistency check for versionadded/changed directives.Georg Brandl2010-08-171-4/+4
|
* Issue #8188: Comparisons between Decimal objects and other numericMark Dickinson2010-06-111-15/+9
| | | | objects (Fraction, float, complex, int) now all function as expected.
* Merged revisions 81598 via svnmerge fromStefan Krah2010-05-291-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81598 | stefan.krah | 2010-05-29 14:54:35 +0200 (Sat, 29 May 2010) | 1 line Fix typo ........
* #Issue 8540: Make Context._clamp attribute public in decimal module.Mark Dickinson2010-05-221-4/+21
|
* Merged revisions 79768 via svnmerge fromEzio Melotti2010-04-041-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79768 | ezio.melotti | 2010-04-05 02:21:53 +0300 (Mon, 05 Apr 2010) | 1 line Fix markup in decimal.rst. ........
* Merged revisions 79756 via svnmerge fromMark Dickinson2010-04-041-7/+15
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79756 | mark.dickinson | 2010-04-04 23:09:21 +0100 (Sun, 04 Apr 2010) | 6 lines Add versionchanged entry for Decimal(float) construction. Also add an example of constructing a Decimal directly from a float, update the quickstart tutorial, and tweak another couple of sentences. ........
* Fix versionchanged from 2.7 to 3.2 in decimal.rst.Ezio Melotti2010-04-041-1/+1
|
* Merged revisions 79583,79588-79589 via svnmerge fromMark Dickinson2010-04-031-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79583 | mark.dickinson | 2010-04-02 09:53:22 +0100 (Fri, 02 Apr 2010) | 7 lines Issue #2531: Make float-to-decimal comparisons return correct results. Float to decimal comparison operations now return a result based on the numeric values of the operands. Decimal.__hash__ has also been fixed so that Decimal and float values that compare equal have equal hash value. ........ r79588 | mark.dickinson | 2010-04-02 11:17:07 +0100 (Fri, 02 Apr 2010) | 2 lines Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation. ........ r79589 | mark.dickinson | 2010-04-02 11:35:12 +0100 (Fri, 02 Apr 2010) | 6 lines Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable. Also rewrite the Decimal __hash__ method so that it doesn't rely on float('inf') being valid: float('inf') could raise an exception on platforms not using IEEE 754 arithmetic. ........
* Issue 8257: Decimal constructor to accept float argument.Raymond Hettinger2010-04-021-26/+9
|
* Merged revisions 78312 via svnmerge fromMark Dickinson2010-02-221-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78312 | mark.dickinson | 2010-02-22 15:40:28 +0000 (Mon, 22 Feb 2010) | 1 line Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0. ........
* Remove references to the 'long' type in py3k decimal docs.Mark Dickinson2010-02-181-2/+2
|
* Merged revisions 78217-78218 via svnmerge fromMark Dickinson2010-02-181-2/+5
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines Issue #7633: Context method in the decimal module (with the exception of the 'canonical' and 'is_canonical' methods) now consistently accept integer arguments wherever a Decimal instance is accepted. Thanks Juan José Conti for the patch. ........ r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero. ........
* Issue #6595: Allow Decimal constructor to accept non-European decimal ↵Mark Dickinson2009-08-021-0/+5
| | | | digits, as recommended by the specification.