[New-bugs-announce] [issue24526] Exponent function bug

bhaskar report at bugs.python.org
Mon Jun 29 12:19:03 CEST 2015

New submission from bhaskar:

the value of a -ve number when raised by a power of even number always results in a +ve number. I tried it with -1**10 , -1**2, -9**4

these all are resulting in -ve numbers which is mathematically incorrect.

ps. the same example is in the attachment

components: IDLE
files: pythonabc.png
messages: 245928
nosy: bhaskar
priority: normal
severity: normal
status: open
title: Exponent function bug
type: compile error
versions: Python 3.6
Added file: http://bugs.python.org/file39829/pythonabc.png

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list