summaryrefslogtreecommitdiffstats
path: root/Lib/test/decimaltestdata
Commit message (Collapse)AuthorAgeFilesLines
* Fix Decimal speed issue; backport of r82652 from release27-maint.Mark Dickinson2010-07-081-0/+13
|
* Merged revisions 75943-75945 via svnmerge fromMark Dickinson2009-10-291-16/+44
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line Fix duplicate test numbers in extra.decTest ........ r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines Issue #7233: A number of two-argument Decimal methods were failing to accept ints and longs for the second argument. ........ r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines Issue #7233: Fix Decimal.shift and Decimal.rotate methods for arguments with more digits than the current context precision. Bug reported by Stefan Krah. ........
* Merged revisions 75561 via svnmerge fromMark Dickinson2009-10-271-12/+12
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines Issue #7099: Decimal.is_normal should return True for all nonzero finite non-subnormal values, even those with exponent > Emax. ........
* Merged revisions 75286 via svnmerge fromMark Dickinson2009-10-27142-148/+200
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines Update decimal test data to the most recent set from Mike Cowlishaw. ........
* Merged revisions 74564 via svnmerge fromMark Dickinson2009-08-281-0/+16
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines Issue #6794: Fix handling of NaNs in Decimal.compare_total and Decimal.compare_total_mag. ........
* Merged revisions 67694 via svnmerge fromMark Dickinson2008-12-111-0/+17
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67694 | facundo.batista | 2008-12-11 04:19:46 +0000 (Thu, 11 Dec 2008) | 6 lines Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to give correct results in the case where one argument is a quiet NaN and the other is a finite number that requires rounding. Thanks Mark Dickinson. ........
* Issue #3449: Update decimal module to use most recent specificationMark Dickinson2008-07-27142-322/+471
| | | | (v. 1.68) and tests (v. 2.58) from IBM.
* Test cases from Cowlishaw, v2.57. All are pased cleanly.Facundo Batista2007-11-23142-160/+510
|
* Made the various is_* operations return booleans. This was discussedFacundo Batista2007-10-021-0/+2106
| | | | | | | | | | | with Cawlishaw by mail, and he basically confirmed that to these is_* operations, there's no need to return Decimal(0) and Decimal(1) if the language supports the False and True booleans. Also added a few tests for the these functions in extra.decTest, since they are mostly untested (apart from the doctests). Thanks Mark Dickinson
* Merged the decimal-branch (revisions 54886 to 58140). Decimal is nowFacundo Batista2007-09-13147-2287/+57525
| | | | | | | fully updated to the latests Decimal Specification (v1.66) and the latests test cases (v2.56). Thanks to Mark Dickinson for all his help during this process.
* Remove test of obsolete trim() operation which was supplanted byRaymond Hettinger2004-08-171-152/+0
| | | | | | | | normalize() in Draft 1.06 (9 October 2002): The normalize operation has been added; it reduces a number to a canonical form. (This replaces the trim operator, which only removed trailing fractional zeros.)
* This file is no longer used in version 2.39.Raymond Hettinger2004-08-171-151/+0
| | | | Was supplanted by tointegral.decTest.
* Add two new files and update remaining tests from the latest update of theRaymond Hettinger2004-08-1731-191/+1190
| | | | test suite in version 2.39 of dectest.zip.
* Move Decimal from the sandbox into production.Raymond Hettinger2004-07-0130-0/+22866