Message87955
Hi, I noticed that when trying to convert with the int() function a
complex number the exception error says "use int(abs(z))". I think that
insted it should say "use int(z.real)" because if I want to convert
1j**2 to int using the abs method, the result is 1 positive, when it
should be -1. With my method it works fine. |
|
Date |
User |
Action |
Args |
2009-05-17 03:18:02 | aletornw | set | recipients:
+ aletornw |
2009-05-17 03:18:01 | aletornw | set | messageid: <1242530281.91.0.594007385036.issue6044@psf.upfronthosting.co.za> |
2009-05-17 03:18:00 | aletornw | link | issue6044 messages |
2009-05-17 03:18:00 | aletornw | create | |
|