Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Fix Overflow exception in the bignum factorial benchmark that is due to | Stefan Krah | 2012-04-01 | 1 | -1/+4 | |
| | | | | the recent change of the default value for context.Emax. | |||||
* | Use abort() rather than exit() to appease tools like rpmlint. abort() is used | Stefan Krah | 2012-03-30 | 1 | -1/+1 | |
| | | | | | | in libmpdec to prevent undefined behavior if an invalid context is used. This cannot occur for the _decimal module since user input for the context is validated. | |||||
* | 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. | |||||
* | Fix formatting after removing tabs. | Stefan Krah | 2012-03-23 | 2 | -4/+8 | |
| | ||||||
* | Whitespace. | Stefan Krah | 2012-03-23 | 2 | -102/+102 | |
| | ||||||
* | 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 | 6 | -168/+168 | |
| | ||||||
* | Issue #7652: Integrate the decimal floating point libmpdec library to speed | Stefan Krah | 2012-03-21 | 54 | -0/+26284 | |
up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application. |