Commit Graph

42 Commits

Author SHA1 Message Date
Guido van Rossum 45b83915f8 New form of PyFPE_END_PROTECT macro. 1997-03-14 04:32:50 +00:00
Guido van Rossum 52fa3a6909 Changes for Lee Busby's SIGFPE patch set.
Two new modules fpectl and fpetest.
Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
1997-02-14 22:59:58 +00:00
Roger E. Masse 20c6381856 Removed references to getdoublearg and get2doublearg rename macros and
substituted the appropriate PyArg_Parse calls.  Retested.  All appears well.
1996-12-18 21:59:01 +00:00
Guido van Rossum 4a4880966b Correct *another* mistake (initmath() always fell through to fatal error).
Watch it, Barry! :-)
1996-12-18 14:14:33 +00:00
Guido van Rossum 4c4cbf397b Correct 1-char typo / syntax error. 1996-12-18 14:12:22 +00:00
Barry Warsaw fc93f75da7 Better error checking in initmath(). 1996-12-17 00:47:03 +00:00
Barry Warsaw 8b43b19ec9 Renamed 1996-12-09 22:32:36 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 213a685cd8 Move backup definition for hypot() to Python/hypot.c. 1996-08-29 18:13:16 +00:00
Guido van Rossum 3bcf7d2f0b Avoid complaint about inconsistent hypot() linkage on NT. 1996-08-21 20:36:52 +00:00
Guido van Rossum 6412b1de5d Hack for Mac (where fabs is not usable as a function pointer). 1996-08-08 19:10:21 +00:00
Guido van Rossum 557d6d6608 Don't make an exception for NeXT (BBUM says it's no longer needed).
(But hypot() should really be defined in a separate file, triggered by
configure.)
1996-07-30 20:44:31 +00:00
Guido van Rossum 7081cf54bf Microsoft C changes 1996-05-23 22:56:19 +00:00
Guido van Rossum 3206268692 added default hypot() implementation 1996-01-12 01:39:11 +00:00
Guido van Rossum 9caac91641 NeXT doesn't like me to declare hypot(double, double) 1995-06-14 22:17:37 +00:00
Guido van Rossum 6964f73b85 include mymath.h 1995-03-01 10:34:29 +00:00
Guido van Rossum 27fda28973 cleanup 1995-01-22 00:48:16 +00:00
Guido van Rossum b9418686ba rearrange declarations somewhat 1995-01-12 11:28:16 +00:00
Guido van Rossum 524b588553 Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
1995-01-04 19:10:35 +00:00
Guido van Rossum 3bbc62e9c2 Another bulky set of minor changes.
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
1995-01-02 19:30:30 +00:00
Guido van Rossum 411a8bd799 add hypot() 1994-10-20 22:00:28 +00:00
Guido van Rossum b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum f1dc566328 * Makefile: added all: and default: targets.
* 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.
1993-07-05 10:31:29 +00:00
Guido van Rossum 234f942aef * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
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().
1993-06-17 12:35:49 +00:00
Guido van Rossum 9575a44575 * Microscopic corrections to make things compile on the Cray APP.
* Removed one use of $> in Makefile and warned about others.
  Added configurable lines in Makefile to change CC and AR.
1993-04-07 14:06:14 +00:00
Guido van Rossum e537240c25 * Changed many files to use mkvalue() instead of newtupleobject().
* 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.
1993-03-16 12:15:04 +00:00
Guido van Rossum bab9d03855 Copyright for 1992 added 1992-04-05 14:26:55 +00:00
Guido van Rossum df840d911f lint 1992-03-27 17:29:44 +00:00
Guido van Rossum 444db07d3c Get rid of RuntimeError. 1992-02-26 15:26:56 +00:00
Guido van Rossum 2d709b1608 Get rid of AMOEBA deps; add declaration of fmod() if __STDC__ is not defined. 1992-01-14 18:37:27 +00:00
Guido van Rossum 8832b62101 Improve error handling. 1991-12-16 15:44:24 +00:00
Guido van Rossum 98d5433852 Added PROTO macro where needed. 1991-11-12 15:44:14 +00:00
Guido van Rossum d18ad58349 Added frexp, ldexp, modf, fmod. 1991-10-24 14:57:21 +00:00
Guido van Rossum 1492c27350 Add some err_errno calls that were missing 1991-07-27 21:38:43 +00:00
Guido van Rossum 76f2f2ef67 Apparently MPW has power() instead of pow(). 1991-06-24 22:23:10 +00:00
Guido van Rossum 5b7f945bc3 Moved get*doublearg() routines to modsupport.c 1991-04-03 19:06:03 +00:00
Guido van Rossum f70e43a073 Added copyright notice. 1991-02-19 12:39:46 +00:00
Guido van Rossum 801f473a4c Add <errno.h>. 1990-12-20 23:09:14 +00:00
Guido van Rossum 3f5da24ea3 "Compiling" version 1990-12-20 15:06:42 +00:00
Guido van Rossum eb38d2411c DECREF pi and e after inserting in symbol table. 1990-11-18 17:36:45 +00:00
Guido van Rossum 738d4ddf81 Take out duplication of code in initmodule(). 1990-10-26 14:59:30 +00:00
Guido van Rossum 85a5fbbdfe Initial revision 1990-10-14 12:07:46 +00:00