Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
41eb85b194909d68bb05b81442f10026b9279560
/
Modules
/
_decimal
9d3a5ae
Defensive programming: mpd_isspecial(r) already implies mpd_isspecial(q), but
by Stefan Krah
· 12 years ago
3c23a87
The divmod function for large numbers now has an ACL2 proof. Related changes:
by Stefan Krah
· 12 years ago
c51b7fd
1) Simplify comment -- one has to read the complete proof (available in ACL2)
by Stefan Krah
· 12 years ago
5d0d2e2
Explain the strategy to avoid huge alignment shifts in _mpd_qadd() in detail.
by Stefan Krah
· 12 years ago
ed4b21f
Cosmetic change: initialize digits to 1 (redundant).
by Stefan Krah
· 12 years ago
bc771e9
Remove redundant finalization of the result.
by Stefan Krah
· 12 years ago
aecaf0b
Fix comments and whitespace.
by Stefan Krah
· 12 years ago
6369f77
Support mythical ones' complement machines.
by Stefan Krah
· 12 years ago
140893c
The previous code is correct, but hard to verify: The libmpdec documentation
by Stefan Krah
· 12 years ago
ec766a6
1) Remove claim of an input invariant that is only true for static mpd_t.
by Stefan Krah
· 12 years ago
7b544ca
Fix stale comment.
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
f69aef7
Resize the coefficient to MPD_MINALLOC also if the requested size is below
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
dc36efa
1) Fix comment.
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
41e0310
Fix Overflow exception in the bignum factorial benchmark that is due to
by Stefan Krah
· 12 years ago
0e41981
Use abort() rather than exit() to appease tools like rpmlint. abort() is used
by Stefan Krah
· 12 years ago
fe17b2b
Raise MemoryError instead of InvalidOperation/MallocError for compatibility
by Stefan Krah
· 12 years ago
c64150b
Fix formatting after removing tabs.
by Stefan Krah
· 12 years ago
cd9e1d0
Whitespace.
by Stefan Krah
· 12 years ago
b6405ef
Use the same exception hierarchy as decimal.py. FloatOperation now also
by Stefan Krah
· 12 years ago
7cc5521
Whitespace.
by Stefan Krah
· 12 years ago
1919b7e
Issue #7652: Integrate the decimal floating point libmpdec library to speed
by Stefan Krah
· 12 years ago