| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Replace PyObject_CallFunctionObjArgs() with fastcall | Victor Stinner | 2016-12-01 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | * PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507. | |||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -1/+1 | |
| | | ||||||
| * | Issue #12345: Add mathemathcal constant tau to math and cmath. | Guido van Rossum | 2016-08-15 | 1 | -0/+1 | |
| | | | | | Patch by Lisa Roach. See also PEP 628. | |||||
| * | Issue #26512: Merge rounding doc from 3.5 | Martin Panter | 2016-05-08 | 1 | -4/+4 | |
| |\ | ||||||
| | * | Issue #26512: Clarify Integral; tidy up table of rounding functions | Martin Panter | 2016-05-08 | 1 | -4/+4 | |
| | | | | | | | | | Based on patch by Julien. | |||||
| * | | Issue #26898: Fix typo in math.isclose() docstring | Berker Peksag | 2016-05-01 | 1 | -1/+1 | |
| |\ \ | |/ | | | | | Patch by Marco Buttu. | |||||
| | * | Issue #26898: Fix typo in math.isclose() docstring | Berker Peksag | 2016-05-01 | 1 | -1/+1 | |
| | | | | | | | | | Patch by Marco Buttu. | |||||
| * | | Merge for issue #26114 | Brett Cannon | 2016-01-15 | 1 | -3/+2 | |
| |\ \ | |/ | ||||||
| | * | Issue #26114: Remove a reference to 'Numerical Recipes'. | Brett Cannon | 2016-01-15 | 1 | -3/+2 | |
| | | | | | | | | | | | | | While no copyright violation occurred, the license which 'Numerical Recipes' operates under is not amenable to Python, so to prevent confusion it's easier to simply remove its mention. | |||||
| * | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 | |
| |/ | | | | private functions. | |||||
| * | Issue #19543: Implementation of isclose as per PEP 485 | Tal Einat | 2015-05-31 | 1 | -0/+79 | |
| | | | | | | | | | | For details, see: PEP 0485 -- A Function for testing approximate equality Functions added: math.isclose() and cmath.isclose(). Original code by Chris Barker. Patch by Tal Einat. | |||||
| * | Issue #22486: Added the math.gcd() function. The fractions.gcd() function ↵ | Serhiy Storchaka | 2015-05-12 | 1 | -0/+28 | |
| | | | | | | | now is deprecated. Based on patch by Mark Dickinson. | |||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+1 | |
| |\ | | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | |||||
| | * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+1 | |
| | | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | |||||
| * | | Issue #21092: Merge from 3.4. | Mark Dickinson | 2015-01-11 | 1 | -3/+3 | |
| |\ \ | |/ | ||||||
| | * | Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse ↵ | Mark Dickinson | 2015-01-11 | 1 | -3/+3 | |
| | | | | | | | | | hyperbolic sine' (etc.). Remove meaningless reference to radians. | |||||
| * | | Issue #23185: add math.inf and math.nan constants. | Mark Dickinson | 2015-01-11 | 1 | -1/+34 | |
| | | | ||||||
| * | | Issue #22207: Fix "comparison between signed and unsigned integers" warning in | Victor Stinner | 2014-08-17 | 1 | -1/+1 | |
| | | | | | | | | | | | test checking for integer overflow on Py_ssize_t type: cast explicitly to size_t. | |||||
| * | | Issue #20539: Improve math.factorial error messages and types for large inputs. | Mark Dickinson | 2014-04-10 | 1 | -4/+12 | |
| |/ | | | | | - Better message for the OverflowError in large positive inputs. - Changed exception type from OverflowError to ValueError for large negative inputs. | |||||
| * | #12211: remove paragraph about NaNs | Andrew Kuchling | 2014-02-16 | 1 | -3/+1 | |
| | | ||||||
| * | #12211: clarify math.copysign() documentation and docstring | Andrew Kuchling | 2014-02-16 | 1 | -1/+5 | |
| | | ||||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -7/+6 | |
| | | | | | error messages and comments. | |||||
| * | Issue #16305: Merge fix from 3.2. | Mark Dickinson | 2012-10-25 | 1 | -4/+3 | |
| |\ | ||||||
| | * | Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and ↵ | Mark Dickinson | 2012-10-25 | 1 | -4/+3 | |
| | | | | | | | | | diagnosis. | |||||
| * | | merge 3.2 | Benjamin Peterson | 2012-03-13 | 1 | -7/+7 | |
| |\ \ | |/ | ||||||
| | * | fix indentation | Benjamin Peterson | 2012-03-13 | 1 | -7/+7 | |
| | | | ||||||
| * | | use the static identifier api for looking up special methods | Benjamin Peterson | 2012-01-22 | 1 | -6/+6 | |
| | | | | | | | | | | | I had to move the static identifier code from unicodeobject.h to object.h in order for this to work. | |||||
| * | | Use the new Py_ARRAY_LENGTH macro | Victor Stinner | 2011-09-28 | 1 | -1/+1 | |
| | | | ||||||
| * | | Return +-Py_HUGE_VAL for tgamma(+-0) instead of risking FP exceptions by ↵ | Mark Dickinson | 2011-09-25 | 1 | -1/+2 | |
| | | | | | | | | | computing 1.0 / 0.0. | |||||
| * | | Issue #11888: Use system log2() when available | Victor Stinner | 2011-05-09 | 1 | -0/+4 | |
| | | | | | | | | | | | I expect the system libc to use more accurate functions than Python. The GNU libc uses for example FYL2X and FYL2XP1 hardware instructions on Intel FPU. | |||||
| * | | Grammatical fix for a comment for log2, to avoid referring to an *algorithm* ↵ | Mark Dickinson | 2011-05-09 | 1 | -1/+3 | |
| | | | | | | | | | as monotonic. | |||||
| * | | Fix cut-and-paste typo in comment: log10 -> log2. | Mark Dickinson | 2011-05-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Issue #11888: Add log2 function to math module. Patch written by Mark | Victor Stinner | 2011-05-08 | 1 | -0/+59 | |
| | | | | | | | | | Dickinson. | |||||
| * | | Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2 | Jesus Cea | 2011-03-14 | 1 | -5/+0 | |
| |/ | ||||||
| * | Issue #9599: Further accuracy tweaks to loghelper. For an integer n that's ↵ | Mark Dickinson | 2010-09-29 | 1 | -14/+22 | |
| | | | | | small enough to be converted to a float without overflow, log(n) is now computed as log(float(n)), and similarly for log10. | |||||
| * | Issue #9599: Tweak loghelper algorithm to return slightly improved results ↵ | Mark Dickinson | 2010-09-28 | 1 | -6/+8 | |
| | | | | | for powers of 2. | |||||
| * | Improve docstrings for isnan, isinf and isfinite. | Mark Dickinson | 2010-07-11 | 1 | -3/+3 | |
| | | ||||||
| * | Issue #9165: Add math.isfinite and cmath.isfinite. | Mark Dickinson | 2010-07-11 | 1 | -0/+14 | |
| | | ||||||
| * | Fix typo in a comment in mathmodule.c. | Ezio Melotti | 2010-07-08 | 1 | -1/+1 | |
| | | ||||||
| * | Issue #9186: log1p(-1.0) should raise ValueError, not OverflowError. | Mark Dickinson | 2010-07-07 | 1 | -1/+1 | |
| | | ||||||
| * | Minor refactoring in lgamma code, for clarity. | Mark Dickinson | 2010-07-07 | 1 | -14/+10 | |
| | | ||||||
| * | Style/consistency nit: make math_floor and math_ceil code look the same. | Mark Dickinson | 2010-07-02 | 1 | -6/+4 | |
| | | ||||||
| * | fix lookup of __ceil__ | Benjamin Peterson | 2010-07-02 | 1 | -9/+9 | |
| | | ||||||
| * | account for different ref counting semantics of _PyObject_LookupSpecial | Benjamin Peterson | 2010-07-02 | 1 | -4/+8 | |
| | | ||||||
| * | correctly lookup __trunc__ and __floor__ | Benjamin Peterson | 2010-07-01 | 1 | -20/+11 | |
| | | ||||||
| * | Merged revisions 82221 via svnmerge from | Mark Dickinson | 2010-06-25 | 1 | -11/+11 | |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82221 | mark.dickinson | 2010-06-25 21:19:48 +0100 (Fri, 25 Jun 2010) | 1 line Fix indentation of Python code example in C comment. ........ | |||||
| * | Merged revisions 81967 via svnmerge from | Mark Dickinson | 2010-06-13 | 1 | -6/+16 | |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81967 | mark.dickinson | 2010-06-13 11:50:29 +0100 (Sun, 13 Jun 2010) | 4 lines Issue #8986: erfc was raising OverflowError on Linux for arguments in the (approximate) range (-27.3, 30.0), as a result of an escaped errno value. ........ | |||||
| * | Issue #8692: Improve performance of math.factorial: | Mark Dickinson | 2010-05-15 | 1 | -20/+240 | |
| | | | | | | | | | | | | | | (1) use a different algorithm that roughly halves the total number of multiplications required and results in more balanced multiplications (2) use a lookup table for small arguments (3) fast accumulation of products in C integer arithmetic rather than PyLong arithmetic when possible. Typical speedup, from unscientific testing on a 64-bit laptop, is 4.5x to 6.5x for arguments in the range 100 - 10000. Patch by Daniel Stutzbach; extensive reviews by Alexander Belopolsky. | |||||
| * | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -1002/+1002 | |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | |||||
| * | Merged revisions 77275 via svnmerge from | Mark Dickinson | 2010-01-03 | 1 | -16/+6 | |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77275 | mark.dickinson | 2010-01-03 12:03:03 +0000 (Sun, 03 Jan 2010) | 1 line Make use of PyLong_AsLongAndOverflow in math_ldexp. ........ | |||||
