summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
AgeCommit message (Expand)AuthorLines
2010-06-25Merged revisions 82221 via svnmerge fromMark Dickinson-11/+11
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-632/+632
2010-03-21Merged revisions 75952-75953,75955,76105,76143,76223,76259,76326,76376-76377 ...Georg Brandl-16/+20
2008-12-21Merged revisions 67654,67676-67677,67681,67692,67725,67746,67748,67761,67784-...Benjamin Peterson-2/+5
2008-12-11Merged revisions 67707 via svnmerge fromMark 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
2004-03-22Patch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD.Hye-Shik Chang-5/+5
2003-11-19Getting rid of support for the ancient Apple MPW compiler.Jack Jansen-13/+0
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-6/+2
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-2/+2
2002-12-14Apply SF patch 652930: Add optional base argument to math.log(x[, base]).Raymond Hettinger-15/+47
2002-08-02Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond-1/+1
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-18/+18
2002-05-13Added degrees() and radians() to mathmodule. Closes patch 552452 andRaymond Hettinger-0/+27