summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed MetroWerks workaround, replaced by defines in mymath.h (Jack)Guido van Rossum1997-05-201-5/+0
|
* New form of PyFPE_END_PROTECT macro.Guido van Rossum1997-03-141-3/+3
|
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-141-0/+6
| | | | | Two new modules fpectl and fpetest. Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
* Removed references to getdoublearg and get2doublearg rename macros andRoger E. Masse1996-12-181-8/+5
| | | | substituted the appropriate PyArg_Parse calls. Retested. All appears well.
* Correct *another* mistake (initmath() always fell through to fatal error).Guido van Rossum1996-12-181-0/+1
| | | | Watch it, Barry! :-)
* Correct 1-char typo / syntax error.Guido van Rossum1996-12-181-1/+1
|
* Better error checking in initmath().Barry Warsaw1996-12-171-2/+13
|
* RenamedBarry Warsaw1996-12-091-43/+42
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Move backup definition for hypot() to Python/hypot.c.Guido van Rossum1996-08-291-27/+0
|
* Avoid complaint about inconsistent hypot() linkage on NT.Guido van Rossum1996-08-211-0/+2
|
* Hack for Mac (where fabs is not usable as a function pointer).Guido van Rossum1996-08-081-0/+5
|
* Don't make an exception for NeXT (BBUM says it's no longer needed).Guido van Rossum1996-07-301-1/+1
| | | | | (But hypot() should really be defined in a separate file, triggered by configure.)
* Microsoft C changesGuido van Rossum1996-05-231-1/+4
|
* added default hypot() implementationGuido van Rossum1996-01-121-4/+21
|
* NeXT doesn't like me to declare hypot(double, double)Guido van Rossum1995-06-141-1/+1
|
* include mymath.hGuido van Rossum1995-03-011-1/+1
|
* cleanupGuido van Rossum1995-01-221-4/+0
|
* rearrange declarations somewhatGuido van Rossum1995-01-121-11/+11
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-0/+4
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* add hypot()Guido van Rossum1994-10-201-0/+2
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-1/+15
|
* * Makefile: added all: and default: targets.Guido van Rossum1993-07-051-3/+0
| | | | | | | | | | | | * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-171-0/+3
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* * Microscopic corrections to make things compile on the Cray APP.Guido van Rossum1993-04-071-0/+5
| | | | | * Removed one use of $> in Makefile and warned about others. Added configurable lines in Makefile to change CC and AR.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-24/+4
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* lintGuido van Rossum1992-03-271-1/+1
|
* Get rid of RuntimeError.Guido van Rossum1992-02-261-1/+1
|
* Get rid of AMOEBA deps; add declaration of fmod() if __STDC__ is not defined.Guido van Rossum1992-01-141-5/+4
|
* Improve error handling.Guido van Rossum1991-12-161-5/+30
|
* Added PROTO macro where needed.Guido van Rossum1991-11-121-3/+3
|
* Added frexp, ldexp, modf, fmod.Guido van Rossum1991-10-241-12/+75
|
* Add some err_errno calls that were missingGuido van Rossum1991-07-271-3/+3
|
* Apparently MPW has power() instead of pow().Guido van Rossum1991-06-241-0/+4
|
* Moved get*doublearg() routines to modsupport.cGuido van Rossum1991-04-031-29/+0
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Add <errno.h>.Guido van Rossum1990-12-201-0/+5
|
* "Compiling" versionGuido van Rossum1990-12-201-12/+3
|
* DECREF pi and e after inserting in symbol table.Guido van Rossum1990-11-181-2/+4
|
* Take out duplication of code in initmodule().Guido van Rossum1990-10-261-11/+2
|
* Initial revisionGuido van Rossum1990-10-141-0/+167