summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
AgeCommit message (Expand)AuthorLines
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
2008-01-03Added math.isinf() and math.isnan()Christian Heimes-6/+34
2008-01-03Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin-6/+44
2006-11-19Speed up function calls into the math module by using METH_O.Neal Norwitz-63/+55
2006-05-29Whoops.Georg Brandl-2/+6
2006-05-29Convert more modules to METH_VARARGS.Georg Brandl-6/+2
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2005-04-06Make that a C, not a C++, comment.Michael W. Hudson-1/+1
2005-04-06Add a comment explaining the import of longintrepr.h.Michael W. Hudson-1/+1