summaryrefslogtreecommitdiffstats
path: root/Modules/cmathmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* asin micro-optimization suggested in email.Tim Peters2001-02-221-2/+3
|
* Bug #133297: cmath.asin is the same as cmath.asinh.Tim Peters2001-02-211-8/+9
| | | | | | | | | | | | | The bug report title isn't correct, but was on the right track. Rev 2.13 applied a patch intended to improve asinh and acosh, but the author mistakenly replaced the body of asin with their new code for asinh. See bug report for all the gory details. This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh function; and, (b) repairs asin via what Abramowitz & Stegun say it should be (which is probably the same as what 2.12 did for asin, although I got tired of matching parentheses before being 100% sure of that -- and I don't care! The source of the old code is a mystery, and I *know* why I picked the new code.).
* Rename some constants for easier readability.Tim Peters2001-02-201-8/+8
|
* Mechanical edits just so I can read it.Tim Peters2001-02-201-142/+138
|
* Use METH_VARARGS instead of numeric constant 1 in method def. tablesAndrew M. Kuchling2000-08-031-16/+32
|
* merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp2000-07-311-2/+0
| | | | marked my*.h as obsolete
* Fix typo in previous patch.Thomas Wouters2000-07-241-3/+3
|
* *** empty log message ***Thomas Wouters2000-07-241-3/+3
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-2/+2
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-38/+19
|
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-091-1/+1
|
* Patch by Nadav Horesh to make acosh and asinh better.Guido van Rossum2000-06-301-7/+12
| | | | | | | Tim posted a long comment to python-dev (subject: "Controversial patch (cmath)"; date: 6/29/00). The conclusion is that this whole module stinks and this patch isn't perfect, but it's better than the acosh and asinh we had, so let's check it in.
* Docstring fix: acosh() returns the hyperbolic arccosine, not theFred Drake1999-03-161-1/+1
| | | | | hyperbolic cosine. Problem report via David Ascher by one of his students.
* Jim Ahlstrom patch: Watcom chokes on a long expression in c_asinh().Guido van Rossum1999-01-141-1/+5
| | | | Break it up.
* Added Doc strings -- by Chris Petrilli.Guido van Rossum1998-12-041-17/+119
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* New form of PyFPE_END_PROTECT macro.Guido van Rossum1997-03-141-1/+1
|
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-141-0/+2
| | | | | Two new modules fpectl and fpetest. Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
* Removed redundant inclusion of <errno.h> (sorry, Roj!).Guido van Rossum1996-12-101-2/+0
|
* Renamed GrandlyRoger E. Masse1996-12-091-19/+19
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-0/+2
|
* complex -> Py_complexGuido van Rossum1996-07-211-56/+56
|
* Made all c_* symbols static.Guido van Rossum1996-05-241-20/+20
|
* complex mathGuido van Rossum1996-01-121-0/+314