82 Commits (c2176e46d797c8aea60cdcd2ddf44f6bb88394b4)

Author SHA1 Message Date
Stefan Krah 6e467049c6 Accept Unicode legacy strings in the Decimal constructor. 13 years ago
Stefan Krah 0f82b76b57 Issue #16431: Finally, consider all permutations. 13 years ago
Stefan Krah ed16eff57e Issue #16431: Also fix the opposite direction. 13 years ago
Stefan Krah f4abc7b8a0 Issue #16431: Use the type information when constructing a Decimal subtype 13 years ago
Stefan Krah a0346e56ac Support gcc's -ansi flag: use "__asm__" instead of "asm". 13 years ago
Stefan Krah e59aa8c94d Revert 29506c7db353 (build output should be accurate). 13 years ago
Christian Heimes 72c9946718 Change libmpdec to use ANSI code in strict ansi mode as inline asm isn't supported in ANSI C 13 years ago
Stefan Krah 9a3f05e60f Make it clear that the pi function is modified for benchmarking purposes. 13 years ago
Stefan Krah 6b6a1df996 Restore the benchmark order to avoid waiting for decimal.py if just the 13 years ago
Brett Cannon 6cf50c5b1d Fix whitespace. 13 years ago
Brett Cannon 63092fe0ea Fix whitespace. 13 years ago
Brett Cannon d266c4451f Make the decimal bench file run under Python 2.7. 13 years ago
Stefan Krah 7e6523fbd7 Use C-style comments. 13 years ago
Stefan Krah f817a7b178 Use C-style comments. 13 years ago
Stefan Krah 76e12179c5 Issue #15882: Change _decimal to accept any coefficient tuple when 14 years ago
Stefan Krah dbcf103be0 Issue #15882: Change _decimal to accept any coefficient tuple when 14 years ago
Mark Dickinson fc33d4ce0a Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 14 years ago
Stefan Krah f21587e3a8 mpd_qpowmod(): calculate result with zero-exponent for compatibility with 14 years ago
Stefan Krah 17183a2972 Use zero bottom margin. 14 years ago
Stefan Krah ad5b43995e In the 32-bit build, dec_hash() raised InvalidOperation if the operand 14 years ago
Stefan Krah 2fd502f6a1 1) Use _mpd_basedivmod() regardless of the length of the dividend. This is 14 years ago
Stefan Krah b9e36b97f2 Add unused parameter to a couple of METH_NOARGS functions. The previous 14 years ago
Stefan Krah 26a1c7a905 Fix Visual Studio warning. 14 years ago
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