summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/tests
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19936: Remove executable bits from C source files and several forgottenSerhiy Storchaka2014-01-162-0/+0
| | | | test files.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-162-0/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* Issue #19936: Disable shebang lines in order to prevent using a randomStefan Krah2014-01-163-6/+0
| | | | system python.
* Support multiarch build in tests.Stefan Krah2013-05-291-7/+8
|
* Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-292-6/+4
| | | | character in _decimal.c.
* Issue #16422: Use strings for rounding mode constants for better readabilityStefan Krah2013-01-161-22/+14
| | | | and pickling compatibility.
* Issue #15783: Except for the number methods, the C version of decimal nowStefan Krah2012-12-152-0/+52
| | | | | supports all None default values present in decimal.py. These values were largely undocumented.
* Make it clear that the pi function is modified for benchmarking purposes.Stefan Krah2012-09-301-2/+7
|
* Restore the benchmark order to avoid waiting for decimal.py if just theStefan Krah2012-09-251-3/+4
| | | | prec=9 test is used.
* Fix whitespace.Brett Cannon2012-09-251-1/+1
|
* Fix whitespace.Brett Cannon2012-09-251-18/+18
|
* Make the decimal bench file run under Python 2.7.Brett Cannon2012-09-251-18/+28
|
* Use zero bottom margin.Stefan Krah2012-08-221-3/+0
|
* In the 32-bit build, dec_hash() raised InvalidOperation if the operandStefan Krah2012-08-221-0/+45
| | | | | | had a coefficient with MAX_PREC=425000000 digits and a negative exponent. Increasing the context limits above the official values fixes the issue and is safe (in this case!).
* Update test script to Visual Studio 2010.Stefan Krah2012-06-252-42/+32
|
* Make the benchmark more fair for _decimal/decimal.py by setting context.precStefan Krah2012-06-241-6/+6
| | | | only once (float obviously doesn't set any context at all).
* Raise InvalidOperation if exponents of zeros are clamped during exactStefan Krah2012-04-051-0/+1
| | | | | conversion in the Decimal constructor. Exact here refers to the representation and not to the value (clamping does not change the value).
* Fix Overflow exception in the bignum factorial benchmark that is due toStefan Krah2012-04-011-1/+4
| | | | the recent change of the default value for context.Emax.
* Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-218-0/+2654
up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.