summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
Commit message (Expand)AuthorAgeFilesLines
* Replace math.sum with math.fsum in a couple of commentsMark Dickinson2008-07-301-2/+2
* Rename math.sum to math.fsumMark Dickinson2008-07-301-16/+16
* Fix special-value handling for math.sum.Mark Dickinson2008-07-301-38/+54
* Fix another typo in math_sum commentMark Dickinson2008-06-201-1/+1
* Fix comment typosAndrew M. Kuchling2008-06-201-2/+2
* Fix double decref.Raymond Hettinger2008-06-181-1/+0
* Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raisingMark Dickinson2008-06-171-3/+8
* Unhappy buildbots. Revert 64052. Long doubles have unexpected effects on so...Raymond Hettinger2008-06-091-20/+24
* Address double-rounding scenarios by setting all variables to long doubles.Raymond Hettinger2008-06-091-24/+19
* Issue #2138: Add math.factorial().Raymond Hettinger2008-06-091-0/+50
* * Mark intermedidate computes values (hi, lo, yr) as volatile.Raymond Hettinger2008-05-301-19/+31
* Fix two typos.Raymond Hettinger2008-05-291-2/+2
* Tweak the comments and formatting.Raymond Hettinger2008-05-231-76/+47
* Issue #2819: Add math.sum, a function that sums a sequence of floatsMark Dickinson2008-05-231-0/+223
* Issue #2487. math.ldexp(x, n) raised OverflowError when n was large andMark Dickinson2008-05-091-12/+54
* Silence 'r may be used uninitialized' compiler warning.Mark Dickinson2008-04-211-0/+1
* math.atan2 is misbehaving on Windows; this patchMark Dickinson2008-04-201-1/+37
* Yet more explicit special case handling to makeMark Dickinson2008-04-201-47/+55
* FreeBSD doesn't follow C99 for modf(inf); so add explicitMark Dickinson2008-04-201-0/+9
* Additional special-case handling for math.pow.Mark Dickinson2008-04-191-6/+13
* Additional tests for math.pow, and extra special-caseMark Dickinson2008-04-191-0/+11
* I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes2008-04-181-96/+344
* Neaten-up a bit.Raymond Hettinger2008-02-021-5/+1
* Move __builtins__.trunc() to math.trunc() perJeffrey Yasskin2008-02-011-0/+16
* setup.py doesn't pick up changes to a header fileChristian Heimes2008-01-251-4/+4
* Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64)Neal Norwitz2008-01-251-0/+5
* Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin2008-01-051-44/+6
* Fixed math.copysign() on WindowsChristian Heimes2008-01-041-6/+8
* Added copysign(x, y) function to the math moduleChristian Heimes2008-01-031-0/+11
* Added math.isinf() and math.isnan()Christian Heimes2008-01-031-6/+34
* Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin2008-01-031-6/+44
* Speed up function calls into the math module by using METH_O.Neal Norwitz2006-11-191-63/+55
* Whoops.Georg Brandl2006-05-291-2/+6
* Convert more modules to METH_VARARGS.Georg Brandl2006-05-291-6/+2
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
* Make that a C, not a C++, comment.Michael W. Hudson2005-04-061-1/+1
* Add a comment explaining the import of longintrepr.h.Michael W. Hudson2005-04-061-1/+1
* Patch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD.Hye-Shik Chang2004-03-221-5/+5
* Getting rid of support for the ancient Apple MPW compiler.Jack Jansen2003-11-191-13/+0
* Simplify and speedup uses of Py_BuildValue():Raymond Hettinger2003-10-121-6/+2
* SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger2002-12-291-2/+2
* Apply SF patch 652930: Add optional base argument to math.log(x[, base]).Raymond Hettinger2002-12-141-15/+47
* Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond2002-08-021-1/+1
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-18/+18
* Added degrees() and radians() to mathmodule. Closes patch 552452 andRaymond Hettinger2002-05-131-0/+27
* Revert parts of patch #453627, documenting the resulting test failuresMartin v. Löwis2001-09-061-17/+1
* Rework the way we try to check for libm overflow, given that C99 no longerTim Peters2001-09-051-29/+13
* Patch #453627: Define the following macros when compiling on a UnixWare 7.x s...Martin v. Löwis2001-09-051-1/+17
* loghelper(): Try to nudge the compiler into doing mults in an order thatTim Peters2001-09-051-1/+1
* Return reasonable results for math.log(long) and math.log10(long) (we wereTim Peters2001-09-051-4/+64