[New-bugs-announce] [issue24438] Strange behaviour when multiplying imaginary inf by 1

Alex Monk report at bugs.python.org
Fri Jun 12 15:22:58 CEST 2015


New submission from Alex Monk:

alex at alex-laptop:~$ python3
Python 3.4.3 (default, Mar 26 2015, 22:03:40) 
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> infj = complex(0, float("inf"))
>>> infj
infj
>>> infj*1
(nan+infj)
>>> infj*1*1
(nan+nanj)

----------
messages: 245247
nosy: Alex Monk
priority: normal
severity: normal
status: open
title: Strange behaviour when multiplying imaginary inf by 1
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24438>
_______________________________________


More information about the New-bugs-announce mailing list