summaryrefslogtreecommitdiffstats
path: root/Lib/test/decimaltestdata
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12080: Fix a performance issue in Decimal._power_exact that caused ↵Mark Dickinson2011-06-041-0/+13
| | | | some corner-case Decimal.__pow__ calls to take an unreasonably long time.
* Issue 11131: Fix sign of zero result on plus and minus operations in ↵Mark Dickinson2011-03-121-0/+70
| | | | ROUND_FLOOR rounding mode.
* Add updated .hgeol file and fix newlines in the 2.7 branch.Georg Brandl2011-03-05112-51896/+51896
|
* Merged revisions 82646,82649-82650 via svnmerge fromMark Dickinson2010-07-081-0/+13
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line In test_decimal, convert heuristic for skipping tests into an explicit skiplist. ........ r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this. ........ r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__. ........
* Issue #7233: Fix Decimal.shift and Decimal.rotate methods forMark Dickinson2009-10-291-0/+29
| | | | | arguments with more digits than the current context precision. Bug reported by Stefan Krah.
* Fix duplicate test numbers in extra.decTestMark Dickinson2009-10-291-16/+15
|
* Issue #7099: Decimal.is_normal should return True for all nonzeroMark Dickinson2009-10-201-12/+12
| | | | finite non-subnormal values, even those with exponent > Emax.
* Update decimal test data to the most recent set from Mike Cowlishaw.Mark Dickinson2009-10-08142-148/+200
|
* Issue #6794: Fix handling of NaNs in Decimal.compare_total andMark Dickinson2009-08-281-0/+16
| | | | Decimal.compare_total_mag.
* Issue #4084: Fix max, min, max_mag and min_mag Decimal methods toFacundo Batista2008-12-111-0/+17
| | | | | | 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