| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add unused parameter to a couple of METH_NOARGS functions. The previous | Stefan Krah | 2012-07-28 | 1 | -8/+8 |
| | | | | | | form is used in many places in the source tree, but was found to be incorrect in a recent tracker discussion. | ||||
| * | Proactive reliability fix for broken FPUs: The base conversion functions | Stefan Krah | 2012-06-30 | 1 | -18/+20 |
| | | | | | | | | | | | use log10() to calculate the size of the output array. The current code has been tested on x86/amd64 (and to a lesser extent on qemu-mips qemu-sparc) and produces sufficiently large values for all inputs tested so far (coefficient sizes of 10**18 - 1 are hard to test exhaustively). The new code does not rely on the correctness of log10() and resizes the output arrays if the allocated space is insufficient. | ||||
| * | Speed up _decimal by another 10-15% by caching the thread local context | Stefan Krah | 2012-06-24 | 1 | -21/+58 |
| | | | | | | that was last accessed. In the pi benchmark (64-bit platform, prec=9), _decimal is now only 1.5x slower than float. | ||||
| * | Issue #14478: Cache the hash of a Decimal in the C version. | Stefan Krah | 2012-04-10 | 1 | -1/+14 |
| | | |||||
| * | Issue #14520: Add __sizeof__() method to the Decimal object. | Stefan Krah | 2012-04-09 | 1 | -0/+14 |
| | | |||||
| * | Speed up _decimal by 30-40% for numerical workloads by improving the cache | Stefan Krah | 2012-04-09 | 1 | -16/+18 |
| | | | | | locality for regularly sized coefficients. | ||||
| * | Use the MPD() accessor macro. | Stefan Krah | 2012-04-09 | 1 | -2/+2 |
| | | |||||
| * | Whitespace. | Stefan Krah | 2012-04-05 | 1 | -1/+1 |
| | | |||||
| * | Reduce array size. | Stefan Krah | 2012-04-05 | 1 | -1/+1 |
| | | |||||
| * | Formatting. | Stefan Krah | 2012-04-05 | 1 | -2/+2 |
| | | |||||
| * | Allow printing a leading '-' and the maximum number of exponent digits | Stefan Krah | 2012-04-05 | 1 | -2/+2 |
| | | | | | | rather than raising RuntimeError (allocated space is sufficient for the additional character). | ||||
| * | Raise InvalidOperation if exponents of zeros are clamped during exact | Stefan Krah | 2012-04-05 | 1 | -2/+2 |
| | | | | | | conversion in the Decimal constructor. Exact here refers to the representation and not to the value (clamping does not change the value). | ||||
| * | Improve comments. | Stefan Krah | 2012-04-02 | 1 | -5/+5 |
| | | |||||
| * | Clear the context flags if a context is initialized from the DefaultContext. | Stefan Krah | 2012-04-02 | 1 | -0/+8 |
| | | |||||
| * | Raise MemoryError instead of InvalidOperation/MallocError for compatibility | Stefan Krah | 2012-03-25 | 1 | -1/+8 |
| | | | | | | | with decimal.py. The standard specifies InsufficientStorage (MallocError) as a sub-condition of InvalidOperation. This allows a calculation to continue with NaN results when allocation fails. | ||||
| * | Use the same exception hierarchy as decimal.py. FloatOperation now also | Stefan Krah | 2012-03-23 | 1 | -20/+65 |
| | | | | | | inherits from TypeError. Cleanup in module initialization to make repeated import failures robust. | ||||
| * | Whitespace. | Stefan Krah | 2012-03-21 | 1 | -2/+2 |
| | | |||||
| * | Issue #7652: Integrate the decimal floating point libmpdec library to speed | Stefan Krah | 2012-03-21 | 1 | -0/+5512 |
| up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application. | |||||
