204 Commits (d8320ecb86da8df7c13d8bf8582507f736aa2924)

Author SHA1 Message Date
Pablo Galindo 0411411c6b
Rework integer overflow path in math.prod and add more tests (GH-11809) 7 years ago
Dima Pasechnik f57cd8288d bpo-36106: Resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027) 7 years ago
Pablo Galindo 4207907c2b
Fix division by 0 when checking for overflow in math.prod (GH-11808) 7 years ago
Pablo Galindo bc09851586 bpo-35606: Implement math.prod (GH-11359) 7 years ago
Raymond Hettinger cfd735ea28
Move float conversion into a macro. Apply to fsum (GH-11698) 7 years ago
Raymond Hettinger 808180c206
Fast path for int inputs to math.dist() and math.hypot() (GH-11692) 7 years ago
Serhiy Storchaka d0d3e99120
bpo-35719: Optimize multi-argument math functions. (GH-11527) 7 years ago
Ammar Askar cb08a71c5c bpo-34838: Use subclass_of for math.dist. (GH-9659) 7 years ago
Zackery Spytz 4c49da0cb7 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) 7 years ago
Raymond Hettinger 216aaaa056 Fixing wording in comment. (GH-10425) 7 years ago
Raymond Hettinger df8101517a
Speed-up math.dist() by 30% (GH-9628) 7 years ago
Pablo Galindo e9ba3705de
bpo-33083 - Make math.factorial reject arguments that are not int-like (GH-6149) 8 years ago
Raymond Hettinger f326714426
Minor improvement to code clarity (GH-9036) 8 years ago
Raymond Hettinger 745c0f3980
Simplify vector_norm() by eliminating special cases in the main loop (GH-9006) 8 years ago
Raymond Hettinger 21786f5186
Improve commutativity of math.hypot() and math.dist() (GH-8984) 8 years ago
Raymond Hettinger 74734f73ca
Fast path for exact floats in math.hypot() and math.dist() (GH-8949) 8 years ago
Raymond Hettinger a47f394af8
Minor code clean-up. Don't alter the input vector. Use variables instead. GH-8748 8 years ago
Raymond Hettinger 00414597b4
Add more tests and assertions for math.hypot() and math.dist() (GH-8747) 8 years ago
Raymond Hettinger c630e10440
Factor-out common code. Also, optimize common cases by preallocating space on the stack. GH-8738 8 years ago
Raymond Hettinger 1399074535
Replace straight addition with Kahan summation and move max to the end (GH-8727) 8 years ago
Raymond Hettinger 9c18b1ae52
bpo-33089: Add math.dist() for computing the Euclidean distance between two points (GH-8561) 8 years ago
Raymond Hettinger c6dabe37e3
bpo-33089: Multidimensional math.hypot() (GH-8474) 8 years ago
Barry Warsaw b2e5794870 bpo-31338 (#3374) 9 years ago
Mark Dickinson a0ce375e10 bpo-29962: add math.remainder (#950) 9 years ago
Louie Lu 7a26464c64 bpo-29946: Fix "sqrtpi defined but not used" (#908) 9 years ago
Serhiy Storchaka 4125e5c60e bpo-26121: Revert to using the own implementations of lgamma and gamma on all platforms. (#637) 9 years ago
Serhiy Storchaka 97553fdf9d bpo-26121: Use C library implementation for math functions: (#515) 9 years ago
Mark Dickinson 5e65cd39df Issue #29282: Backed out changeset b33012ef1417 9 years ago
Mark Dickinson d1b230e48b Issue #29282: add fused multiply-add function, math.fma. 9 years ago
Serhiy Storchaka c9ea933586 Issue #20186: Converted the math module to Argument Clinic. 9 years ago
Victor Stinner f17c3de263 Use _PyObject_CallNoArg() 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Guido van Rossum 0a891d70de Issue #12345: Add mathemathcal constant tau to math and cmath. 10 years ago
Martin Panter 129fe04d4d Issue #26512: Clarify Integral; tidy up table of rounding functions 10 years ago
Berker Peksag d6e6f8b829 Issue #26898: Fix typo in math.isclose() docstring 10 years ago
Brett Cannon 45adb3100b Issue #26114: Remove a reference to 'Numerical Recipes'. 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 10 years ago
Tal Einat d5519ed7f4 Issue #19543: Implementation of isclose as per PEP 485 11 years ago
Serhiy Storchaka 48e47aaa28 Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is 11 years ago
Serhiy Storchaka a60c2fe480 Issue #23641: Cleaned out legacy dunder names from tests and docs. 11 years ago
Mark Dickinson dfe0b2326b Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse hyperbolic sine' (etc.). Remove meaningless reference to radians. 11 years ago
Mark Dickinson a5d0c7c2fd Issue #23185: add math.inf and math.nan constants. 11 years ago
Victor Stinner 049e509a9f Issue #22207: Fix "comparison between signed and unsigned integers" warning in 12 years ago
Mark Dickinson 5990d2864c Issue #20539: Improve math.factorial error messages and types for large inputs. 12 years ago
Andrew Kuchling 3137885c36 #12211: remove paragraph about NaNs 12 years ago
Andrew Kuchling 8cb1ec3274 #12211: clarify math.copysign() documentation and docstring 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago