150 Commits (ca64d25dd285a784186bc16b3ee39ff8680cabdf)

Author SHA1 Message Date
Christian Heimes 292d351fc1 Merged revisions 60481,60485,60489-60520,60523-60527,60530-60533,60535-60538,60540-60551 via svnmerge from 19 years ago
Raymond Hettinger fe424f754f Neaten-up a bit. 19 years ago
Christian Heimes 400adb030a Merged revisions 60475-60479,60481-60488 via svnmerge from 19 years ago
Jeffrey Yasskin ca2b69f765 Move __builtins__.trunc() to math.trunc() per 19 years ago
Christian Heimes fe82e774ea Merged revisions 60379-60382 via svnmerge from 19 years ago
Christian Heimes af98da18c0 Merged revisions 60284-60349 via svnmerge from 19 years ago
Christian Heimes 543cabc842 setup.py doesn't pick up changes to a header file 19 years ago
Christian Heimes 969fe57baa Merged revisions 60245-60277 via svnmerge from 19 years ago
Neal Norwitz 5f95a79b2b Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64) 19 years ago
Jeffrey Yasskin c2155835b4 Make math.floor and math.ceil return ints instead of floats. 19 years ago
Jeffrey Yasskin 9871d8fe22 Continue rolling back pep-3141 changes that changed behavior from 2.5. This 19 years ago
Christian Heimes a34706f101 Merged revisions 59680-59695 via svnmerge from 19 years ago
Christian Heimes 66ecda4990 Fixed math.copysign() on Windows 19 years ago
Christian Heimes 072c0f1b7e Merged revisions 59666-59679 via svnmerge from 19 years ago
Christian Heimes eebb79cc69 Added copysign(x, y) function to the math module 19 years ago
Christian Heimes e2ca4245c9 Added math.isinf() and math.isnan() 19 years ago
Jeffrey Yasskin 2f3c16be73 Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just 19 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 19 years ago
Guido van Rossum 13e05de9ef Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__ 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 20 years ago
Neal Norwitz 45e230a8e1 Speed up function calls into the math module by using METH_O. 20 years ago
Georg Brandl a355c14fa1 Whoops. 20 years ago
Georg Brandl bf92f46572 Convert more modules to METH_VARARGS. 20 years ago
Neal Norwitz bcc0db82dc Get rid of remnants of integer division 20 years ago
Neal Norwitz 1ac754fa10 Check return result from Py_InitModule*(). This API can fail. 21 years ago
Michael W. Hudson 9ef852c6c2 Make that a C, not a C++, comment. 21 years ago
Michael W. Hudson 2ea3072805 Add a comment explaining the import of longintrepr.h. 21 years ago
Hye-Shik Chang 77d9a3effa Patch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD. 23 years ago
Jack Jansen fb2765666f Getting rid of support for the ancient Apple MPW compiler. 23 years ago
Raymond Hettinger 8ae4689657 Simplify and speedup uses of Py_BuildValue(): 23 years ago
Raymond Hettinger ea3fdf44a2 SF patch #659536: Use PyArg_UnpackTuple where possible. 24 years ago
Raymond Hettinger 866964c3a3 Apply SF patch 652930: Add optional base argument to math.log(x[, base]). 24 years ago
Mark Hammond fe51c6d66e Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago
Raymond Hettinger d6f2267a83 Added degrees() and radians() to mathmodule. Closes patch 552452 and 24 years ago
Martin v. Löwis 387c547fd3 Revert parts of patch #453627, documenting the resulting test failures 25 years ago
Tim Peters a40c793d06 Rework the way we try to check for libm overflow, given that C99 no longer 25 years ago
Martin v. Löwis 655c9557f6 Patch #453627: Define the following macros when compiling on a UnixWare 7.x system: 25 years ago
Tim Peters e5ca6c71cd loghelper(): Try to nudge the compiler into doing mults in an order that 25 years ago
Tim Peters 785261684e Return reasonable results for math.log(long) and math.log10(long) (we were 25 years ago
Tim Peters 63c9453929 Mechanical fiddling to make this easier to work with in my editor. 25 years ago
Tim Peters fe71f81367 Part of SF patch [#431848] mathmodule.c: doc strings & conversion, from 25 years ago
Peter Schneider-Kamp 07c1922b12 annoying whitespace inconsistency 25 years ago
Tim Peters 2bf405ad55 Repaired a comment and asserted a precondition. 26 years ago
Tim Peters 1d120619d4 Stop raising OverflowError on underflows reported by libm (errno==ERANGE and 26 years ago
Tim Peters 78fc0b57df Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough. 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Barry Warsaw 9bfd2bf5ed Do the absolute minimal amount of modifications to eradicate 26 years ago
Peter Schneider-Kamp 10e1bf2f64 remove all occurence of math.rint() from the sources 26 years ago