Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
efd7b34d7c4e401bbecb343da7c9506137a3b2fe
/
Modules
/
_decimal
/
_decimal.c
20b39b2
Removed redundant casts to `char *`.
by Serhiy Storchaka
· 10 years ago
cf26115
Introduce and check for MPD_VERSION_HEX for precise management of builds
by Stefan Krah
· 10 years ago
8fb74a3
Issue #21374: Fix pickling of DecimalTuple.
by Stefan Krah
· 10 years ago
ce68c19
remove unused zero constants
by Benjamin Peterson
· 11 years ago
45059eb
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
by Stefan Krah
· 11 years ago
2fdf4e7
Move PyErr_NoMemory() closer to the failure.
by Stefan Krah
· 11 years ago
a0fd1f5
Change style to match the surrounding code (no early returns).
by Stefan Krah
· 11 years ago
ac47085
Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()
by Victor Stinner
· 11 years ago
a992e11
Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handle
by Victor Stinner
· 11 years ago
891ca9e
Backport bff16086f03b and bcaaaa00425b.
by Stefan Krah
· 11 years ago
6edda14
Issue #17768: Support newline fill character in decimal.py and NUL fill
by Stefan Krah
· 11 years ago
eb8c451
Since the return type of format() is not a Decimal, raise ValueError instead of
by Stefan Krah
· 12 years ago
59a4a93
Issue #16422: Use strings for rounding mode constants for better readability
by Stefan Krah
· 12 years ago
fb7f580
Issue #16745: Hide a couple of symbols by making them local.
by Stefan Krah
· 12 years ago
9a4ff43
Issue #15783: Support None default values in the Context() constructor.
by Stefan Krah
· 12 years ago
040e311
Issue #15783: Except for the number methods, the C version of decimal now
by Stefan Krah
· 12 years ago
6e46704
Accept Unicode legacy strings in the Decimal constructor.
by Stefan Krah
· 12 years ago
0f82b76
Issue #16431: Finally, consider all permutations.
by Stefan Krah
· 12 years ago
ed16eff
Issue #16431: Also fix the opposite direction.
by Stefan Krah
· 12 years ago
f4abc7b
Issue #16431: Use the type information when constructing a Decimal subtype
by Stefan Krah
· 12 years ago
dbcf103
Issue #15882: Change _decimal to accept any coefficient tuple when
by Stefan Krah
· 12 years ago
fc33d4c
Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
by Mark Dickinson
· 12 years ago
f21587e
mpd_qpowmod(): calculate result with zero-exponent for compatibility with
by Stefan Krah
· 12 years ago
ad5b439
In the 32-bit build, dec_hash() raised InvalidOperation if the operand
by Stefan Krah
· 12 years ago
b9e36b9
Add unused parameter to a couple of METH_NOARGS functions. The previous
by Stefan Krah
· 12 years ago
c35a8e5
Proactive reliability fix for broken FPUs: The base conversion functions
by Stefan Krah
· 12 years ago
78f0756
Speed up _decimal by another 10-15% by caching the thread local context
by Stefan Krah
· 12 years ago
cc74b6a
Issue #14478: Cache the hash of a Decimal in the C version.
by Stefan Krah
· 12 years ago
e37f8b2
Issue #14520: Add __sizeof__() method to the Decimal object.
by Stefan Krah
· 12 years ago
dd159ce
Speed up _decimal by 30-40% for numerical workloads by improving the cache
by Stefan Krah
· 12 years ago
94ef3e4
Use the MPD() accessor macro.
by Stefan Krah
· 12 years ago
4771cca
Whitespace.
by Stefan Krah
· 12 years ago
871b96b
Reduce array size.
by Stefan Krah
· 12 years ago
a616948
Formatting.
by Stefan Krah
· 12 years ago
ff3eca0
Allow printing a leading '-' and the maximum number of exponent digits
by Stefan Krah
· 12 years ago
0774e9b
Raise InvalidOperation if exponents of zeros are clamped during exact
by Stefan Krah
· 12 years ago
91c0274
Improve comments.
by Stefan Krah
· 12 years ago
5100171
Clear the context flags if a context is initialized from the DefaultContext.
by Stefan Krah
· 12 years ago
fe17b2b
Raise MemoryError instead of InvalidOperation/MallocError for compatibility
by Stefan Krah
· 12 years ago
b6405ef
Use the same exception hierarchy as decimal.py. FloatOperation now also
by Stefan Krah
· 13 years ago
7cc5521
Whitespace.
by Stefan Krah
· 13 years ago
1919b7e
Issue #7652: Integrate the decimal floating point libmpdec library to speed
by Stefan Krah
· 13 years ago