Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unused zero constants | Benjamin Peterson | 2014-03-15 | 1 | -3/+0 |
| | |||||
* | Issue #19936: Remove executable bits from C source files and several forgotten | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | test files. | ||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script. | ||||
* | Issue #19936: Disable shebang lines in order to prevent using a random | Stefan Krah | 2014-01-16 | 3 | -6/+0 |
| | | | | system python. | ||||
* | Whitespace. | Stefan Krah | 2014-01-04 | 1 | -3/+3 |
| | |||||
* | Issue #19986: Avoid an incorrect warning of older gcc versions. | Stefan Krah | 2013-12-15 | 1 | -3/+4 |
| | |||||
* | Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subverted | Stefan Krah | 2013-12-14 | 1 | -9/+11 |
| | | | | | by including stdint.h before mpdecimal.h. In that case the only option left is to compile with -D_STDC_LIMIT_MACROS. | ||||
* | Do not discard const qualifier without a reason. | Stefan Krah | 2013-12-12 | 1 | -7/+7 |
| | |||||
* | Fix two typos. | Stefan Krah | 2013-12-08 | 2 | -2/+2 |
| | |||||
* | Missed one copyright. | Stefan Krah | 2013-12-08 | 1 | -1/+1 |
| | |||||
* | Update copyright. The four year increment is intentional (to save work). | Stefan Krah | 2013-12-08 | 33 | -33/+33 |
| | |||||
* | Make a couple of parameters constant. | Stefan Krah | 2013-12-03 | 2 | -14/+14 |
| | |||||
* | 1) Prepare libmpdec for the 2.4.0 release. None of the following changes ↵ | Stefan Krah | 2013-11-24 | 3 | -36/+326 |
| | | | | | | | | | | | | | | | | | | affects _decimal: o Make all "mpd_t to C integer" conversion functions available in both the 64-bit and the 32-bit versions. o Make all mixed mpd_t/C integer arithmetic functions available in the 32-bit version. o Better handling of __STDC_LIMIT_MACROS for C++ users. o Add struct tags (at the request of C++ users). 2) Check for libmpdec.so.2 if --with-system-libmpdec is used. | ||||
* | Move PyErr_NoMemory() closer to the failure. | Stefan Krah | 2013-11-08 | 1 | -1/+1 |
| | |||||
* | Change style to match the surrounding code (no early returns). | Stefan Krah | 2013-11-08 | 1 | -4/+3 |
| | |||||
* | Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup() | Victor Stinner | 2013-10-29 | 1 | -0/+1 |
| | | | | failure (memory allocation failure): raise a MemoryError exception | ||||
* | Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handle | Victor Stinner | 2013-10-29 | 1 | -10/+17 |
| | | | | PyObject_IsInstance() failure | ||||
* | Support multiarch build in tests. | Stefan Krah | 2013-05-29 | 1 | -7/+8 |
| | |||||
* | Backport bff16086f03b and bcaaaa00425b. | Stefan Krah | 2013-05-29 | 1 | -5/+5 |
| | |||||
* | Issue #17768: Support newline fill character in decimal.py and NUL fill | Stefan Krah | 2013-05-29 | 3 | -15/+59 |
| | | | | character in _decimal.c. | ||||
* | Fix a few typos and a double semicolon. Patch by Eitan Adler. | Ezio Melotti | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | Since the return type of format() is not a Decimal, raise ValueError instead of | Stefan Krah | 2013-01-24 | 1 | -1/+7 |
| | | | | | InvalidOperation if the format specification (width, prec) exceeds the internal limits of libmpdec. | ||||
* | Remove trailing whitespace. | Stefan Krah | 2013-01-16 | 11 | -23/+23 |
| | |||||
* | Issue #16422: Use strings for rounding mode constants for better readability | Stefan Krah | 2013-01-16 | 2 | -87/+69 |
| | | | | and pickling compatibility. | ||||
* | Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc). | Stefan Krah | 2012-12-23 | 1 | -1/+1 |
| | |||||
* | Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD. | Stefan Krah | 2012-12-22 | 1 | -1/+2 |
| | |||||
* | Fix Visual Studio build. | Stefan Krah | 2012-12-22 | 1 | -0/+3 |
| | |||||
* | Issue #16745: Hide symbols in _decimal.so. | Stefan Krah | 2012-12-22 | 12 | -1/+95 |
| | |||||
* | Issue #16745: Hide a couple of symbols by making them local. | Stefan Krah | 2012-12-21 | 2 | -8/+8 |
| | |||||
* | Issue #15783: Support None default values in the Context() constructor. | Stefan Krah | 2012-12-16 | 1 | -30/+33 |
| | |||||
* | Issue #15783: Except for the number methods, the C version of decimal now | Stefan Krah | 2012-12-15 | 4 | -178/+267 |
| | | | | | supports all None default values present in decimal.py. These values were largely undocumented. | ||||
* | Accept Unicode legacy strings in the Decimal constructor. | Stefan Krah | 2012-11-10 | 1 | -1/+3 |
| | |||||
* | Issue #16431: Finally, consider all permutations. | Stefan Krah | 2012-11-08 | 1 | -2/+2 |
| | |||||
* | Issue #16431: Also fix the opposite direction. | Stefan Krah | 2012-11-07 | 1 | -1/+1 |
| | |||||
* | Issue #16431: Use the type information when constructing a Decimal subtype | Stefan Krah | 2012-11-07 | 1 | -2/+27 |
| | | | | from a Decimal argument. | ||||
* | Support gcc's -ansi flag: use "__asm__" instead of "asm". | Stefan Krah | 2012-09-30 | 2 | -94/+94 |
| | |||||
* | Revert 29506c7db353 (build output should be accurate). | Stefan Krah | 2012-09-30 | 1 | -5/+0 |
| | |||||
* | merge | Christian Heimes | 2012-09-30 | 1 | -2/+7 |
|\ | |||||
| * | Make it clear that the pi function is modified for benchmarking purposes. | Stefan Krah | 2012-09-30 | 1 | -2/+7 |
| | | |||||
* | | Change libmpdec to use ANSI code in strict ansi mode as inline asm isn't ↵ | Christian Heimes | 2012-09-30 | 1 | -0/+5 |
|/ | | | | supported in ANSI C | ||||
* | Restore the benchmark order to avoid waiting for decimal.py if just the | Stefan Krah | 2012-09-25 | 1 | -3/+4 |
| | | | | prec=9 test is used. | ||||
* | Fix whitespace. | Brett Cannon | 2012-09-25 | 1 | -1/+1 |
| | |||||
* | Fix whitespace. | Brett Cannon | 2012-09-25 | 1 | -18/+18 |
| | |||||
* | Make the decimal bench file run under Python 2.7. | Brett Cannon | 2012-09-25 | 1 | -18/+28 |
| | |||||
* | Use C-style comments. | Stefan Krah | 2012-09-23 | 1 | -24/+24 |
| | |||||
* | Issue #15882: Change _decimal to accept any coefficient tuple when | Stefan Krah | 2012-09-10 | 1 | -0/+7 |
| | | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification). | ||||
* | Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. | Mark Dickinson | 2012-08-24 | 1 | -1/+17 |
| | |||||
* | mpd_qpowmod(): calculate result with zero-exponent for compatibility with | Stefan Krah | 2012-08-23 | 2 | -23/+17 |
| | | | | decimal.py. The hack to remove the ideal exponent is no longer required. | ||||
* | Use zero bottom margin. | Stefan Krah | 2012-08-22 | 1 | -3/+0 |
| | |||||
* | In the 32-bit build, dec_hash() raised InvalidOperation if the operand | Stefan Krah | 2012-08-22 | 2 | -4/+57 |
| | | | | | | had a coefficient with MAX_PREC=425000000 digits and a negative exponent. Increasing the context limits above the official values fixes the issue and is safe (in this case!). |