15 Commits (fe8440aec00af5bc2e995aaad205efa2e693a364)

Author SHA1 Message Date
Stefan Krah cc74b6ab14 Issue #14478: Cache the hash of a Decimal in the C version. 14 years ago
Stefan Krah e37f8b29fc Issue #14520: Add __sizeof__() method to the Decimal object. 14 years ago
Stefan Krah dd159ce606 Speed up _decimal by 30-40% for numerical workloads by improving the cache 14 years ago
Stefan Krah 94ef3e4c1d Use the MPD() accessor macro. 14 years ago
Stefan Krah 4771cca817 Whitespace. 14 years ago
Stefan Krah 871b96bd5a Reduce array size. 14 years ago
Stefan Krah a6169484c2 Formatting. 14 years ago
Stefan Krah ff3eca0cc3 Allow printing a leading '-' and the maximum number of exponent digits 14 years ago
Stefan Krah 0774e9b9f5 Raise InvalidOperation if exponents of zeros are clamped during exact 14 years ago
Stefan Krah 91c0274bc4 Improve comments. 14 years ago
Stefan Krah 5100171d81 Clear the context flags if a context is initialized from the DefaultContext. 14 years ago
Stefan Krah fe17b2bc77 Raise MemoryError instead of InvalidOperation/MallocError for compatibility 14 years ago
Stefan Krah b6405efd1b Use the same exception hierarchy as decimal.py. FloatOperation now also 14 years ago
Stefan Krah 7cc5521d40 Whitespace. 14 years ago
Stefan Krah 1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed 14 years ago