[New-bugs-announce] [issue23429] -5**4 returns -625 instead of 625

Justin report at bugs.python.org
Mon Feb 9 23:40:25 CET 2015


New submission from Justin:

C:\Users\Justin>python
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> print(-5**4)
-625
>>>

#note...this should be 625 and not a negative 625

----------
messages: 235642
nosy: gilbe024
priority: normal
severity: normal
status: open
title: -5**4 returns -625 instead of 625
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list