Guido van Rossum
e6eefc2231
* classobject.[ch], {float,long,int}object.c, bltinmodule.c:
...
coercion is now completely generic.
* ceval.c: for instances, don't coerce for + and *; * reverses
arguments if left one is non-instance numeric and right one sequence.
1992-08-14 12:06:52 +00:00
Guido van Rossum
bab9d03855
Copyright for 1992 added
1992-04-05 14:26:55 +00:00
Guido van Rossum
3132a5a7dc
answer lint's complaints
1992-03-27 17:28:44 +00:00
Guido van Rossum
56cd67ad47
Get rid of redundant type checks.
...
Define % operator similar to int%int.
1992-01-26 18:16:35 +00:00
Guido van Rossum
7fa52f84c7
Explicitly check for weird values after calling pow().
1991-12-16 15:43:14 +00:00
Guido van Rossum
9a9faddbcb
Formulate better error strings.
1991-12-10 13:56:55 +00:00
Guido van Rossum
27acb3379e
Added NULL function pointers for shift and mask ops.
1991-10-24 14:55:28 +00:00
Guido van Rossum
15ecff4c5e
Finally implemented divmod().
1991-10-20 20:16:45 +00:00
Guido van Rossum
909336104b
printobject now returns an error code
1991-06-07 16:10:43 +00:00
Guido van Rossum
27dec7e376
Export float_buf_repr() interface, for marshalling of floats.
1991-06-04 19:42:53 +00:00
Guido van Rossum
70d934601f
Fix special cases in pow()
1991-05-28 21:57:39 +00:00
Guido van Rossum
50b4ef64eb
Added nonzero test
1991-05-14 11:57:01 +00:00
Guido van Rossum
eba1b5efe1
Added (dummy) divmod and (functional) abs.
...
Fixed comments in number methods list
1991-05-05 20:07:00 +00:00
Guido van Rossum
f70e43a073
Added copyright notice.
1991-02-19 12:39:46 +00:00
Guido van Rossum
c211ee4b13
Added <errno.h>
1990-12-20 23:06:26 +00:00
Guido van Rossum
3f5da24ea3
"Compiling" version
1990-12-20 15:06:42 +00:00
Guido van Rossum
6923e134fc
Moved prototyes for fmod and pow, and don't use them for THINK C.
1990-11-02 17:50:43 +00:00
Guido van Rossum
726749cc5b
Added some prototypes.
1990-10-30 13:30:32 +00:00
Guido van Rossum
2a9096b5f9
New errors.
1990-10-21 22:15:08 +00:00
Guido van Rossum
85a5fbbdfe
Initial revision
1990-10-14 12:07:46 +00:00