summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal
Commit message (Expand)AuthorAgeFilesLines
* Fix comment.Stefan Krah2012-06-201-1/+1
* Many cleanups of redundant code in mpd_qrem_near():Stefan Krah2012-06-201-23/+15
* Add comments to the power functions, in particular to _mpd_qpow_real().Stefan Krah2012-06-181-5/+34
* 1) State the relative errors of the power functions for integer exponents.Stefan Krah2012-06-161-2/+18
* 1) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant.Stefan Krah2012-06-121-7/+9
* 1) Replace long-winded abort() construct by assert().Stefan Krah2012-06-111-31/+28
* 1) State restrictions for the transform length.Stefan Krah2012-06-101-5/+10
* Add one extra comparison to the _mpd_shortmul() case to avoid repetitive code.Stefan Krah2012-06-091-16/+8
* Enumerate all cases in the overflow detection strategy in mpd_qlog10().Stefan Krah2012-06-081-4/+17
* 1) List relative error for _mpd_qln10().Stefan Krah2012-06-081-9/+29
* 1) The overflow detection in mpd_qln() has a surprising number of case splits.Stefan Krah2012-06-071-7/+19
* 1) Add error analysis comments to mpd_qln10() and _mpd_qln().Stefan Krah2012-06-061-31/+96
* word.digits are always initialized before use in the Taylor series loop,Stefan Krah2012-06-011-1/+1
* Use workctx instead of ctx for cosmetic reasons. Also zero-pad the resultStefan Krah2012-05-311-1/+2
* Improve Underflow handling in the correct-rounding loop. The case forStefan Krah2012-05-311-4/+17
* Improve comments.Stefan Krah2012-05-311-4/+14
* Pad the result with zeros just before the final rounding.Stefan Krah2012-05-311-3/+1
* Do not clobber existing flags.Stefan Krah2012-05-311-1/+1
* Fix Visual Studio warning.Stefan Krah2012-05-161-1/+1
* Changes in _mpd_qexp():Stefan Krah2012-05-161-46/+117
* Defensive programming: mpd_isspecial(r) already implies mpd_isspecial(q), butStefan Krah2012-04-201-0/+1
* The divmod function for large numbers now has an ACL2 proof. Related changes:Stefan Krah2012-04-201-45/+140
* 1) Simplify comment -- one has to read the complete proof (available in ACL2)Stefan Krah2012-04-181-7/+6
* Explain the strategy to avoid huge alignment shifts in _mpd_qadd() in detail.Stefan Krah2012-04-181-6/+35
* Cosmetic change: initialize digits to 1 (redundant).Stefan Krah2012-04-181-1/+1
* Remove redundant finalization of the result.Stefan Krah2012-04-181-2/+0
* Fix comments and whitespace.Stefan Krah2012-04-181-8/+8
* Support mythical ones' complement machines.Stefan Krah2012-04-181-1/+1
* The previous code is correct, but hard to verify: The libmpdec documentationStefan Krah2012-04-181-1/+2
* 1) Remove claim of an input invariant that is only true for static mpd_t.Stefan Krah2012-04-102-4/+2
* Fix stale comment.Stefan Krah2012-04-101-3/+4
* Issue #14478: Cache the hash of a Decimal in the C version.Stefan Krah2012-04-101-1/+14
* Issue #14520: Add __sizeof__() method to the Decimal object.Stefan Krah2012-04-091-0/+14
* Resize the coefficient to MPD_MINALLOC also if the requested size is belowStefan Krah2012-04-091-11/+15
* Speed up _decimal by 30-40% for numerical workloads by improving the cacheStefan Krah2012-04-091-16/+18
* Use the MPD() accessor macro.Stefan Krah2012-04-091-2/+2
* 1) Fix comment.Stefan Krah2012-04-071-15/+12
* Whitespace.Stefan Krah2012-04-051-1/+1
* Reduce array size.Stefan Krah2012-04-051-1/+1
* Formatting.Stefan Krah2012-04-051-2/+2
* Allow printing a leading '-' and the maximum number of exponent digitsStefan Krah2012-04-051-2/+2
* Raise InvalidOperation if exponents of zeros are clamped during exactStefan Krah2012-04-052-2/+3
* Improve comments.Stefan Krah2012-04-021-5/+5
* Clear the context flags if a context is initialized from the DefaultContext.Stefan Krah2012-04-021-0/+8
* Fix Overflow exception in the bignum factorial benchmark that is due toStefan Krah2012-04-011-1/+4
* Use abort() rather than exit() to appease tools like rpmlint. abort() is usedStefan Krah2012-03-301-1/+1
* Raise MemoryError instead of InvalidOperation/MallocError for compatibilityStefan Krah2012-03-251-1/+8
* Fix formatting after removing tabs.Stefan Krah2012-03-232-4/+8
* Whitespace.Stefan Krah2012-03-232-102/+102
* Use the same exception hierarchy as decimal.py. FloatOperation now alsoStefan Krah2012-03-231-20/+65