summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
AgeCommit message (Expand)AuthorLines
2019-02-26[2.7] bpo-36106: resolve sinpi name clash with libm (IEEE-754 violation). (GH...Dima Pasechnik-4/+4
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-1/+1
2016-01-15Issue #26114: Remove mention of 'Numerical Recipes'.Brett Cannon-3/+2
2015-01-11Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse hy...Mark Dickinson-3/+3
2013-10-13Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n))Mark Dickinson-12/+22
2010-06-25Fix indentation of Python code example in C comment.Mark Dickinson-11/+11
2010-06-13Issue #8986: erfc was raising OverflowError on Linux for arguments inMark Dickinson-6/+16
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-896/+896
2010-01-03Make use of PyLong_AsLongAndOverflow in math_ldexp.Mark Dickinson-20/+7
2010-01-02Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDoubleMark Dickinson-12/+15
2009-12-21Issue #7518: Move substitute definitions of C99 math functions fromMark Dickinson-4/+4
2009-12-20math.factorial depends on PyLong_AsLong correctly converting floats; rewriteMark Dickinson-2/+9
2009-12-19Issue #3366: Add error function and complementary error function toMark Dickinson-0/+142
2009-12-16Issue #3366: Add expm1 function to math module. Thanks Eric Smith forMark Dickinson-0/+6
2009-12-11Issue #3366: Add lgamma function to math module.Mark Dickinson-0/+57
2009-10-29Use a single style for all the docstrings in the math module.Georg Brandl-15/+19
2009-10-29Use the correct function name in docstring.Georg Brandl-1/+1
2009-09-28Issue #3366: Add gamma function to math module.Mark Dickinson-35/+325
2008-12-20remove redundant sentenceBenjamin Peterson-1/+1
2008-12-20beef up docstringBenjamin Peterson-1/+4
2008-12-11Issues #3167, #3682: tests for math.log and math.log10 were failing onMark Dickinson-3/+55
2008-07-30Replace math.sum with math.fsum in a couple of commentsMark Dickinson-2/+2
2008-07-30Rename math.sum to math.fsumMark Dickinson-16/+16
2008-07-30Fix special-value handling for math.sum.Mark Dickinson-38/+54
2008-06-20Fix another typo in math_sum commentMark Dickinson-1/+1
2008-06-20Fix comment typosAndrew M. Kuchling-2/+2
2008-06-18Fix double decref.Raymond Hettinger-1/+0
2008-06-17Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raisingMark Dickinson-3/+8
2008-06-09Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on so...Raymond Hettinger-19/+23
2008-06-09Address double-rounding scenarios by setting all variables to long doubles.Raymond Hettinger-23/+18
2008-06-09Issue #2138: Add math.factorial().Raymond Hettinger-0/+50
2008-05-30* Mark intermedidate computes values (hi, lo, yr) as volatile.Raymond Hettinger-19/+31
2008-05-29Fix two typos.Raymond Hettinger-2/+2
2008-05-23Tweak the comments and formatting.Raymond Hettinger-71/+42
2008-05-23Issue #2819: Add math.sum, a function that sums a sequence of floatsMark Dickinson-0/+223
2008-05-09Issue #2487. math.ldexp(x, n) raised OverflowError when n was large andMark Dickinson-12/+54
2008-04-21Silence 'r may be used uninitialized' compiler warning.Mark Dickinson-0/+1
2008-04-20math.atan2 is misbehaving on Windows; this patchMark Dickinson-1/+37
2008-04-20Yet more explicit special case handling to makeMark Dickinson-47/+55
2008-04-20FreeBSD doesn't follow C99 for modf(inf); so add explicitMark Dickinson-0/+9
2008-04-19Additional special-case handling for math.pow.Mark Dickinson-6/+13
2008-04-19Additional tests for math.pow, and extra special-caseMark Dickinson-0/+11
2008-04-18I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes-96/+344
2008-02-02Neaten-up a bit.Raymond Hettinger-5/+1
2008-02-01Move __builtins__.trunc() to math.trunc() perJeffrey Yasskin-0/+16
2008-01-25setup.py doesn't pick up changes to a header fileChristian Heimes-4/+4
2008-01-25Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64)Neal Norwitz-0/+5
2008-01-05Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin-44/+6
2008-01-04Fixed math.copysign() on WindowsChristian Heimes-6/+8
2008-01-03Added copysign(x, y) function to the math moduleChristian Heimes-0/+11