summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
AgeCommit message (Expand)AuthorLines
2006-09-27[Backport of rev. 42093 by neal.norwitz]Andrew M. Kuchling-0/+2
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
2001-09-06Revert parts of patch #453627, documenting the resulting test failuresMartin v. Löwis-17/+1
2001-09-05Rework the way we try to check for libm overflow, given that C99 no longerTim Peters-29/+13
2001-09-05Patch #453627: Define the following macros when compiling on a UnixWare 7.x s...Martin v. Löwis-1/+17
2001-09-05loghelper(): Try to nudge the compiler into doing mults in an order thatTim Peters-1/+1
2001-09-05Return reasonable results for math.log(long) and math.log10(long) (we wereTim Peters-4/+64
2001-09-04Mechanical fiddling to make this easier to work with in my editor.Tim Peters-18/+12
2001-08-07Part of SF patch [#431848] mathmodule.c: doc strings & conversion, fromTim Peters-15/+18
2001-06-10annoying whitespace inconsistencyPeter Schneider-Kamp-1/+1
2000-10-12Repaired a comment and asserted a precondition.Tim Peters-1/+2
2000-10-12Stop raising OverflowError on underflows reported by libm (errno==ERANGE andTim Peters-18/+42
2000-09-16Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.Tim Peters-1/+2
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-09-01Do the absolute minimal amount of modifications to eradicateBarry Warsaw-2/+1
2000-08-10remove all occurence of math.rint() from the sourcesPeter Schneider-Kamp-7/+0
2000-07-31merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp-2/+0
2000-07-21Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters-2/+2
2000-07-03Typo repair in docstring -- my fault.Tim Peters-1/+1
2000-07-03ANSI-fication, remove Py_PROTO, etc.Fred Drake-84/+74
2000-07-02Repair docs for math.frexp (they were wrong).Tim Peters-1/+3
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-05-11The addition of rint() (by Peter Schneider-Kamp; I forgot to mentionGuido van Rossum-0/+4
2000-05-11Added math.rint() -- round according to current IEEE754 modeGuido van Rossum-0/+3
2000-05-08Trent Mick:Guido van Rossum-4/+4
1998-12-08Correctly document atan2.Guido van Rossum-1/+1
1998-12-04Added Doc strings -- by Chris Petrilli.Guido van Rossum-49/+96
1998-12-04Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum-1/+1
1997-05-20Removed MetroWerks workaround, replaced by defines in mymath.h (Jack)Guido van Rossum-5/+0
1997-03-14New form of PyFPE_END_PROTECT macro.Guido van Rossum-3/+3
1997-02-14Changes for Lee Busby's SIGFPE patch set.Guido van Rossum-0/+6
1996-12-18Removed references to getdoublearg and get2doublearg rename macros andRoger E. Masse-8/+5
1996-12-18Correct *another* mistake (initmath() always fell through to fatal error).Guido van Rossum-0/+1
1996-12-18Correct 1-char typo / syntax error.Guido van Rossum-1/+1
1996-12-17Better error checking in initmath().Barry Warsaw-2/+13
1996-12-09RenamedBarry Warsaw-43/+42
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1996-08-29Move backup definition for hypot() to Python/hypot.c.Guido van Rossum-27/+0
1996-08-21Avoid complaint about inconsistent hypot() linkage on NT.Guido van Rossum-0/+2
1996-08-08Hack for Mac (where fabs is not usable as a function pointer).Guido van Rossum-0/+5
1996-07-30Don't make an exception for NeXT (BBUM says it's no longer needed).Guido van Rossum-1/+1
1996-05-23Microsoft C changesGuido van Rossum-1/+4