131 Commits (ff337ccd4bf9b6edea5aa25ea72f7d4c02a3bf47)

Author SHA1 Message Date
Mark Dickinson 82842cc46e Merged revisions 82221 via svnmerge from 16 years ago
Mark Dickinson 32a16cac70 Fix indentation of Python code example in C comment. 16 years ago
Mark Dickinson e979ec8fbf Issue #8986: erfc was raising OverflowError on Linux for arguments in 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Georg Brandl 46d441e0c2 Merged revisions 75952-75953,75955,76105,76143,76223,76259,76326,76376-76377 via svnmerge from 16 years ago
Mark Dickinson f132c16199 Make use of PyLong_AsLongAndOverflow in math_ldexp. 16 years ago
Mark Dickinson d3e323215c Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble 16 years ago
Mark Dickinson 12748b003c Issue #7518: Move substitute definitions of C99 math functions from 16 years ago
Mark Dickinson 5698977186 math.factorial depends on PyLong_AsLong correctly converting floats; rewrite 16 years ago
Mark Dickinson 5ff37ae14b Issue #3366: Add error function and complementary error function to 16 years ago
Mark Dickinson 9cae178f21 Issue #3366: Add expm1 function to math module. Thanks Eric Smith for 16 years ago
Mark Dickinson 9be87bc992 Issue #3366: Add lgamma function to math module. 16 years ago
Georg Brandl a8f8bed203 Use a single style for all the docstrings in the math module. 17 years ago
Georg Brandl 40777e6606 Use the correct function name in docstring. 17 years ago
Mark Dickinson b93fff0a57 Issue #3366: Add gamma function to math module. 17 years ago
Benjamin Peterson c6e80eb5ee Merged revisions 67654,67676-67677,67681,67692,67725,67746,67748,67761,67784-67785,67787-67788,67802,67832,67848-67849,67859,67862-67864,67880,67882,67885,67889-67892,67895 via svnmerge from 17 years ago
Benjamin Peterson 9de7298102 remove redundant sentence 17 years ago
Benjamin Peterson fed67fd41e beef up docstring 17 years ago
Mark Dickinson 717d5d0a50 Merged revisions 67707 via svnmerge from 17 years ago
Mark Dickinson 4c96fa5525 Issues #3167, #3682: tests for math.log and math.log10 were failing on 17 years ago
Mark Dickinson ff3fdce0d2 Replace math.sum with math.fsum in a couple of comments 18 years ago
Mark Dickinson fef6b13c32 Rename math.sum to math.fsum 18 years ago
Mark Dickinson abe0aee3cf Fix special-value handling for math.sum. 18 years ago
Mark Dickinson 2fcd8c9703 Fix another typo in math_sum comment 18 years ago
Andrew M. Kuchling 5f198bee4e Fix comment typos 18 years ago
Raymond Hettinger 2281da42b0 Fix double decref. 18 years ago
Mark Dickinson fb1c4b98e9 Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raising 18 years ago
Raymond Hettinger d623414141 Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on some builds. 18 years ago
Raymond Hettinger 7b1ed66372 Address double-rounding scenarios by setting all variables to long doubles. 18 years ago
Raymond Hettinger ecbdd2e9b0 Issue #2138: Add math.factorial(). 18 years ago
Raymond Hettinger ef712d6fd3 * Mark intermedidate computes values (hi, lo, yr) as volatile. 18 years ago
Raymond Hettinger 2a9179ac73 Fix two typos. 18 years ago
Raymond Hettinger 778d5cc4fb Tweak the comments and formatting. 18 years ago
Mark Dickinson 99dfe92759 Issue #2819: Add math.sum, a function that sums a sequence of floats 18 years ago
Mark Dickinson f8476c1573 Issue #2487. math.ldexp(x, n) raised OverflowError when n was large and 18 years ago
Mark Dickinson 0da94c8a34 Silence 'r may be used uninitialized' compiler warning. 18 years ago
Mark Dickinson 92483cd8da math.atan2 is misbehaving on Windows; this patch 18 years ago
Mark Dickinson cec3f138d8 Yet more explicit special case handling to make 18 years ago
Mark Dickinson b2f7090239 FreeBSD doesn't follow C99 for modf(inf); so add explicit 18 years ago
Mark Dickinson a1293eb65f Additional special-case handling for math.pow. 18 years ago
Mark Dickinson e941d97d12 Additional tests for math.pow, and extra special-case 18 years ago
Christian Heimes 6f34109384 I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. 18 years ago
Raymond Hettinger fe424f754f Neaten-up a bit. 18 years ago
Jeffrey Yasskin ca2b69f765 Move __builtins__.trunc() to math.trunc() per 18 years ago
Christian Heimes 543cabc842 setup.py doesn't pick up changes to a header file 18 years ago
Neal Norwitz 5f95a79b2b Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64) 18 years ago
Jeffrey Yasskin 9871d8fe22 Continue rolling back pep-3141 changes that changed behavior from 2.5. This 18 years ago
Christian Heimes 66ecda4990 Fixed math.copysign() on Windows 18 years ago
Christian Heimes eebb79cc69 Added copysign(x, y) function to the math module 18 years ago