Guido van Rossum
|
3bbef60990
|
Ai! complex_nonzero() has && which should be ||, else decidedly
non-zero things like 5j and complex(1,0) are considered to be
zero/false. Tim Peters.
|
1999-01-25 19:42:19 +00:00 |
|
Guido van Rossum
|
8530ef625a
|
Add check to conjugate() that there are no excess arguments.
|
1998-05-07 16:29:10 +00:00 |
|
Guido van Rossum
|
967839473a
|
Got rid of c_error in favor of errno (and EDOM/ERANGE).
Assume that errno usage is thread-safe -- most vendors do this by
making in a macro that refers to a per-thread storage area.
|
1997-05-20 18:21:34 +00:00 |
|
Guido van Rossum
|
c0b618a2cc
|
Quickly renamed the last directory.
|
1997-05-02 03:12:38 +00:00 |
|
Guido van Rossum
|
8017767420
|
Remove unused variable.
|
1997-04-09 18:22:28 +00:00 |
|
Guido van Rossum
|
c054d70aee
|
Get rid of .conj pseudo data attribute for complex numbers.
Add __members__ attribute.
|
1997-04-01 03:12:33 +00:00 |
|
Guido van Rossum
|
45b83915f8
|
New form of PyFPE_END_PROTECT macro.
|
1997-03-14 04:32:50 +00:00 |
|
Guido van Rossum
|
09e6ad0c1e
|
Changes for Lee Busby's SIGFPE patch set.
Surround various f.p. operations with PyFPE_{START,END}_PROTECT macros.
|
1997-02-14 22:54:21 +00:00 |
|
Guido van Rossum
|
919cf1aff1
|
New, better hash for floating point and complex
|
1997-01-11 19:26:21 +00:00 |
|
Guido van Rossum
|
da9c2710c7
|
Make gcc -Wall happy
|
1996-12-05 21:58:58 +00:00 |
|
Guido van Rossum
|
24048580ca
|
Oops... Need to clear c_error before calling c_quot().
|
1996-09-12 21:02:02 +00:00 |
|
Guido van Rossum
|
3be12e97cd
|
Properly(?) implemented remainder and divmod (Tim Hochberg)
|
1996-09-12 20:56:18 +00:00 |
|
Guido van Rossum
|
d4ab3cde8e
|
Raise exception instead of dropping imag part for conversion to int,
long, float.
Raise exception instead of dumping core for remainder and divmod.
|
1996-09-11 22:54:37 +00:00 |
|
Guido van Rossum
|
ee09fc1c30
|
Don't dump core on complex % or divmod -- raise a TypeError exception.
|
1996-09-11 13:55:55 +00:00 |
|
Guido van Rossum
|
926518b683
|
Changes to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x).
|
1996-08-19 19:30:45 +00:00 |
|
Guido van Rossum
|
9e720e390a
|
complex -> Py_complex
|
1996-07-21 02:31:35 +00:00 |
|
Guido van Rossum
|
363078afa4
|
make some things static
|
1996-05-24 20:45:01 +00:00 |
|
Guido van Rossum
|
724187929a
|
use 'j' instead of 'i' for imaginary constants
|
1996-01-25 16:21:31 +00:00 |
|
Jack Jansen
|
1e7b2aa5d6
|
Removed unused var
|
1996-01-25 16:11:19 +00:00 |
|
Guido van Rossum
|
cf3d1087d1
|
Added PyComplex_AsCComplex
|
1996-01-12 01:21:14 +00:00 |
|
Guido van Rossum
|
f9fca9252f
|
complex numbers a la Konrad Hinsen
|
1996-01-12 00:47:05 +00:00 |
|