60 Commits (426e248febc4b86ea4512baaaa81966ab54c83da)

Author SHA1 Message Date
Stefan Krah e574402bd6 Issue #7652: Clean up _mpd_qinvroot() and mark it LIBMPDEC_ONLY. Use the 14 years ago
Stefan Krah d57caf36bd Remove ISSUES.txt. 14 years ago
Stefan Krah 5431e30853 After 79d2eb29c755 it is no longer necessary to zero the output array: 14 years ago
Stefan Krah c35a8e5c98 Proactive reliability fix for broken FPUs: The base conversion functions 14 years ago
Stefan Krah 1edab78859 Update test script to Visual Studio 2010. 14 years ago
Stefan Krah 39e810eb6c Make the benchmark more fair for _decimal/decimal.py by setting context.prec 14 years ago
Stefan Krah 78f075636c Speed up _decimal by another 10-15% by caching the thread local context 14 years ago
Stefan Krah 3077ab8237 Whitespace. 14 years ago
Stefan Krah 50b0a365ba Fix comment. 14 years ago
Stefan Krah 22385011ed Many cleanups of redundant code in mpd_qrem_near(): 14 years ago
Stefan Krah 9c1feb88f3 Add comments to the power functions, in particular to _mpd_qpow_real(). 14 years ago
Stefan Krah c62bd13cb2 1) State the relative errors of the power functions for integer exponents. 14 years ago
Stefan Krah b7832939c7 1) Fix signature of _mpd_qpow_uint(): contrary to the comment base is constant. 14 years ago
Stefan Krah 88e19779ad 1) Replace long-winded abort() construct by assert(). 14 years ago
Stefan Krah 9253862f45 1) State restrictions for the transform length. 14 years ago
Stefan Krah afc0c77b42 Add one extra comparison to the _mpd_shortmul() case to avoid repetitive code. 14 years ago
Stefan Krah 5248a2d3c1 Enumerate all cases in the overflow detection strategy in mpd_qlog10(). 14 years ago
Stefan Krah 1cf6dfc8b2 1) List relative error for _mpd_qln10(). 14 years ago
Stefan Krah 7bda265662 1) The overflow detection in mpd_qln() has a surprising number of case splits. 14 years ago
Stefan Krah a3394bce33 1) Add error analysis comments to mpd_qln10() and _mpd_qln(). 14 years ago
Stefan Krah 67ee1d05dd word.digits are always initialized before use in the Taylor series loop, 14 years ago
Stefan Krah 0271766c88 Use workctx instead of ctx for cosmetic reasons. Also zero-pad the result 14 years ago
Stefan Krah 4d3e0a695a Improve Underflow handling in the correct-rounding loop. The case for 14 years ago
Stefan Krah 9a5beece1b Improve comments. 14 years ago
Stefan Krah 5ddbcfc53e Pad the result with zeros just before the final rounding. 14 years ago
Stefan Krah 30c35e8154 Do not clobber existing flags. 14 years ago
Stefan Krah e34a209584 Fix Visual Studio warning. 14 years ago
Stefan Krah 696d10f1bb Changes in _mpd_qexp(): 14 years ago
Stefan Krah 9d3a5aeabe Defensive programming: mpd_isspecial(r) already implies mpd_isspecial(q), but 14 years ago
Stefan Krah 3c23a87e58 The divmod function for large numbers now has an ACL2 proof. Related changes: 14 years ago
Stefan Krah c51b7fd65b 1) Simplify comment -- one has to read the complete proof (available in ACL2) 14 years ago
Stefan Krah 5d0d2e2b04 Explain the strategy to avoid huge alignment shifts in _mpd_qadd() in detail. 14 years ago
Stefan Krah ed4b21ff4f Cosmetic change: initialize digits to 1 (redundant). 14 years ago
Stefan Krah bc771e9b19 Remove redundant finalization of the result. 14 years ago
Stefan Krah aecaf0b663 Fix comments and whitespace. 14 years ago
Stefan Krah 6369f77d20 Support mythical ones' complement machines. 14 years ago
Stefan Krah 140893cbaa The previous code is correct, but hard to verify: The libmpdec documentation 14 years ago
Stefan Krah ec766a6179 1) Remove claim of an input invariant that is only true for static mpd_t. 14 years ago
Stefan Krah 7b544ca08d Fix stale comment. 14 years ago
Stefan Krah cc74b6ab14 Issue #14478: Cache the hash of a Decimal in the C version. 14 years ago
Stefan Krah e37f8b29fc Issue #14520: Add __sizeof__() method to the Decimal object. 14 years ago
Stefan Krah f69aef747a Resize the coefficient to MPD_MINALLOC also if the requested size is below 14 years ago
Stefan Krah dd159ce606 Speed up _decimal by 30-40% for numerical workloads by improving the cache 14 years ago
Stefan Krah 94ef3e4c1d Use the MPD() accessor macro. 14 years ago
Stefan Krah dc36efa368 1) Fix comment. 14 years ago
Stefan Krah 4771cca817 Whitespace. 14 years ago
Stefan Krah 871b96bd5a Reduce array size. 14 years ago
Stefan Krah a6169484c2 Formatting. 14 years ago
Stefan Krah ff3eca0cc3 Allow printing a leading '-' and the maximum number of exponent digits 14 years ago
Stefan Krah 0774e9b9f5 Raise InvalidOperation if exponents of zeros are clamped during exact 14 years ago