最佳答案
>>> (float('inf')+0j)*1
(inf+nanj)
Why? This caused a nasty bug in my code.
Why isn't 1
the multiplicative identity, giving (inf + 0j)
?