Re: Problem with complex numbers

2008-03-23 Thread David C. Ullrich
On Sat, 22 Mar 2008 23:29:10 +0100, Christian Heimes <[EMAIL PROTECTED]> wrote: >Matthias Götz schrieb: >> So can you tell me what's the purpose of Complex.py, >> >> and where can i find the semantic i'am looking for. > >Well, the file is in the Demo folder. It's just a demo how to implement >a n

Re: Problem with complex numbers

2008-03-22 Thread Terry Reedy
"Christian Heimes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Well, the file is in the Demo folder. It's just a demo how to implement a naive complex type in Python. | Why do you think the power of a complex to a complex is not defined? I suspect because the naive implementa

Re: Problem with complex numbers

2008-03-22 Thread Christian Heimes
Matthias Götz schrieb: > So can you tell me what's the purpose of Complex.py, > > and where can i find the semantic i'am looking for. Well, the file is in the Demo folder. It's just a demo how to implement a naive complex type in Python. Why do you think the power of a complex to a complex is no

Re: Problem with complex numbers

2008-03-22 Thread Christian Heimes
Matthias Götz schrieb: > So if somebody can help me, it would be nice. Thanks. The complex type is implemented in C. It's totally unrelated to Complex.py. Christian -- http://mail.python.org/mailman/listinfo/python-list

Problem with complex numbers

2008-03-22 Thread Matthias Götz
Hello python fans, I have a small problem using python and complex math. The pow(complex,complex) function in the windows python version doesn't have the same semantic as the source version. (I have downloaded : - Python 2.5.2 compressed source tarball