summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/libmpdec/mpdecimal.c
Commit message (Expand)AuthorAgeFilesLines
* bpo-40874: Update to libmpdec-2.5.0 (GH-20652)Stefan Krah2020-06-051-47/+217
* bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581)Stefan Krah2020-02-211-3/+74
* Fix some warnings produced by different compilers. (#5593)Serhiy Storchaka2018-02-091-0/+6
* Issue #26846: Workaround for non-standard stdlib.h on Android.Stefan Krah2016-04-251-1/+1
* Issue #24974: Force fp-model precice in mpdecimal.c on WindowsZachary Ware2015-09-031-0/+1
* Issue #19986: Avoid an incorrect warning of older gcc versions.Stefan Krah2013-12-151-3/+4
* Do not discard const qualifier without a reason.Stefan Krah2013-12-121-7/+7
* Update copyright. The four year increment is intentional (to save work).Stefan Krah2013-12-081-1/+1
* Make a couple of parameters constant.Stefan Krah2013-12-031-7/+7
* 1) Prepare libmpdec for the 2.4.0 release. None of the following changes aff...Stefan Krah2013-11-241-0/+260
* Fix a few typos and a double semicolon. Patch by Eitan Adler.Ezio Melotti2013-01-271-1/+1
* Remove trailing whitespace.Stefan Krah2013-01-161-3/+3
* Issue #16745: Hide a couple of symbols by making them local.Stefan Krah2012-12-211-7/+7
* Use C-style comments.Stefan Krah2012-09-231-24/+24
* mpd_qpowmod(): calculate result with zero-exponent for compatibility withStefan Krah2012-08-231-15/+17
* 1) Use _mpd_basedivmod() regardless of the length of the dividend. This isStefan Krah2012-08-221-6/+9
* Fix Visual Studio warning.Stefan Krah2012-07-201-1/+1
* Issue #7652: Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use theStefan Krah2012-07-121-135/+140
* After 79d2eb29c755 it is no longer necessary to zero the output array:Stefan Krah2012-06-301-4/+4
* Proactive reliability fix for broken FPUs: The base conversion functionsStefan Krah2012-06-301-171/+355
* Whitespace.Stefan Krah2012-06-221-1/+1
* 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