summaryrefslogtreecommitdiff
path: root/Modules/_decimal/libmpdec
AgeCommit message (Expand)AuthorLines
2013-01-27Fix a few typos and a double semicolon. Patch by Eitan Adler.Ezio Melotti-1/+1
2013-01-16Remove trailing whitespace.Stefan Krah-22/+22
2012-12-23Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc).Stefan Krah-1/+1
2012-12-22Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.Stefan Krah-1/+2
2012-12-22Fix Visual Studio build.Stefan Krah-0/+3
2012-12-22Issue #16745: Hide symbols in _decimal.so.Stefan Krah-1/+95
2012-12-21Issue #16745: Hide a couple of symbols by making them local.Stefan Krah-7/+7
2012-09-30Support gcc's -ansi flag: use "__asm__" instead of "asm".Stefan Krah-94/+94
2012-09-30Revert 29506c7db353 (build output should be accurate).Stefan Krah-5/+0
2012-09-30Change libmpdec to use ANSI code in strict ansi mode as inline asm isn't supp...Christian Heimes-0/+5
2012-09-23Use C-style comments.Stefan Krah-24/+24
2012-08-23mpd_qpowmod(): calculate result with zero-exponent for compatibility withStefan Krah-15/+17
2012-08-221) Use _mpd_basedivmod() regardless of the length of the dividend. This isStefan Krah-6/+9
2012-07-20Fix Visual Studio warning.Stefan Krah-1/+1
2012-07-12Issue #7652: Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use theStefan Krah-135/+140
2012-06-30After 79d2eb29c755 it is no longer necessary to zero the output array:Stefan Krah-4/+4
2012-06-30Proactive reliability fix for broken FPUs: The base conversion functionsStefan Krah-180/+389
2012-06-23Whitespace.Stefan Krah-1/+1
2012-06-20Fix comment.Stefan Krah-1/+1
2012-06-20Many cleanups of redundant code in mpd_qrem_near():Stefan Krah-23/+15
2012-06-18Add comments to the power functions, in particular to _mpd_qpow_real().Stefan Krah-5/+34
2012-06-161) State the relative errors of the power functions for integer exponents.Stefan Krah-2/+18
2012-06-121) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant.Stefan Krah-7/+9
2012-06-111) Replace long-winded abort() construct by assert().Stefan Krah-31/+28
2012-06-101) State restrictions for the transform length.Stefan Krah-5/+10
2012-06-09Add one extra comparison to the _mpd_shortmul() case to avoid repetitive code.Stefan Krah-16/+8
2012-06-09Enumerate all cases in the overflow detection strategy in mpd_qlog10().Stefan Krah-4/+17
2012-06-081) List relative error for _mpd_qln10().Stefan Krah-9/+29
2012-06-071) The overflow detection in mpd_qln() has a surprising number of case splits.Stefan Krah-7/+19
2012-06-061) Add error analysis comments to mpd_qln10() and _mpd_qln().Stefan Krah-31/+96
2012-06-01word.digits are always initialized before use in the Taylor series loop,Stefan Krah-1/+1
2012-05-31Use workctx instead of ctx for cosmetic reasons. Also zero-pad the resultStefan Krah-1/+2
2012-05-31Improve Underflow handling in the correct-rounding loop. The case forStefan Krah-4/+17
2012-05-31Improve comments.Stefan Krah-4/+14
2012-05-31Pad the result with zeros just before the final rounding.Stefan Krah-3/+1
2012-05-31Do not clobber existing flags.Stefan Krah-1/+1
2012-05-16Fix Visual Studio warning.Stefan Krah-1/+1
2012-05-16Changes in _mpd_qexp():Stefan Krah-45/+116
2012-04-20Defensive programming: mpd_isspecial(r) already implies mpd_isspecial(q), butStefan Krah-0/+1
2012-04-20The divmod function for large numbers now has an ACL2 proof. Related changes:Stefan Krah-45/+140
2012-04-181) Simplify comment -- one has to read the complete proof (available in ACL2)Stefan Krah-7/+6
2012-04-18Explain the strategy to avoid huge alignment shifts in _mpd_qadd() in detail.Stefan Krah-6/+35
2012-04-18Cosmetic change: initialize digits to 1 (redundant).Stefan Krah-1/+1
2012-04-18Remove redundant finalization of the result.Stefan Krah-2/+0
2012-04-18Fix comments and whitespace.Stefan Krah-8/+8
2012-04-18Support mythical ones' complement machines.Stefan Krah-1/+1
2012-04-18The previous code is correct, but hard to verify: The libmpdec documentationStefan Krah-1/+2
2012-04-101) Remove claim of an input invariant that is only true for static mpd_t.Stefan Krah-4/+2
2012-04-10Fix stale comment.Stefan Krah-3/+4
2012-04-09Resize the coefficient to MPD_MINALLOC also if the requested size is belowStefan Krah-11/+15