[issue6781] even exponentiation of negative numbers
Mark Dickinson
report at bugs.python.org
Tue Aug 25 15:03:54 CEST 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
By the way, I get -1 ^ 2 == -3, not -1:
>>> -1 ^ 2
-3
If you're getting -1 instead, then that *is* a bug! Are you?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6781>
_______________________________________
More information about the Python-bugs-list
mailing list