[PYTHON MATRIX-SIG] Re: complex numbers glitches and pynt14b3.exe

Jim Hugunin hugunin@mit.edu
Thu, 12 Sep 1996 16:57:05 -0400


> I'm tired of hearing how z1%z2 should be implemented without C code.
> Would someone please code it up and send me a patch!?
> 
> Also, I want to change int(), long() and float() for complex numbers
> to raise a TypeError exception, since these really shouldn't be
> applicable to complex numbers.  This should fix the problem of
> math.sqrt(-1j) returning 0.0.
> 
> I wonder if this would break any of the Numerics code though?

Won't break any of mine.  -Jim

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================