Dennis Sweeney <sweeney.dennis...@gmail.com> added the comment:

For some prior art, 
https://www.wolframalpha.com/input/?i=%28-8%29+%5E+%281%2F3%29 says it defaults 
to using "the principal root" over "the real-valued root"

Also, I think the relevant property is that the exponent is not an integer; 
being between 0 and 1 is irrelevant:

>>> pow(-8, 4/3)
(-8.000000000000005-13.856406460551014j)

Maybe the tweak could be something like

"Note that using a negative base with a non-integer exponent will return the 
principal complex exponent value, even if a different real value exists."

----------
nosy: +Dennis Sweeney

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44344>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to