Message242016
This is not only a problem for division. It also applies to multiplication as exemplified here:
>>> complex(0,inf)+1 # expect 1 + infj
Out[16]: (1+infj)
>>> (complex(0,inf)+1)*1 # expect 1 + infj
Out[17]: (nan+infj)
>>> complex(inf, 0) + 1j # expect inf + 1j
Out[18]: (inf+1j)
>>> (complex(inf, 0)+1j)*1 # expect inf + 1j
Out[19]: (inf, nanj) |
|
Date |
User |
Action |
Args |
2015-04-25 15:13:09 | pbrod | set | recipients:
+ pbrod, lemburg, mark.dickinson, pitrou, vstinner, eric.smith, stutzbach |
2015-04-25 15:13:08 | pbrod | set | messageid: <1429974788.95.0.154117362318.issue22544@psf.upfronthosting.co.za> |
2015-04-25 15:13:08 | pbrod | link | issue22544 messages |
2015-04-25 15:13:08 | pbrod | create | |
|