This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients Francesco Biscani, Saksham Agrawal, eric.smith, ezio.melotti, lemburg, mark.dickinson, steven.daprano, stutzbach
Date 2015-10-21.14:40:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445438440.56.0.349048940794.issue25453@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not entirely satisfied that the way it is calculated by C++11/C99 is correct. (Although I can see the appeal of the C version.) Mathematically, complex multiplication (a+bj)*x should be identical to (a+bj)*(x+0j), but obviously in the presence of NANs that is no longer the case. So it isn't clear to me that Python is wrong to allow NANs to "infect" the real part after multiplication.

Before changing the behaviour, I'd like to hear from someone who might be able to comment on what the IEEE-754 standard may have to say about this.
History
Date User Action Args
2015-10-21 14:40:40steven.dapranosetrecipients: + steven.daprano, lemburg, mark.dickinson, eric.smith, stutzbach, ezio.melotti, Francesco Biscani, Saksham Agrawal
2015-10-21 14:40:40steven.dapranosetmessageid: <1445438440.56.0.349048940794.issue25453@psf.upfronthosting.co.za>
2015-10-21 14:40:40steven.dapranolinkissue25453 messages
2015-10-21 14:40:40steven.dapranocreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.