Mark Dickinson added the comment:

[Raymond, quoting Matlab]

> in cases where both real and complex roots exist, power returns only the 
> complex roots.

Yes, this would be the main motivation for me, too, if only to be able to 
answer the many StackOverflow questions like this one: 
http://stackoverflow.com/questions/30923838/how-to-get-the-real-cube-root-of-a-negative-number-in-python3

+1 for a private function in the statistics module for now.

----------

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

Reply via email to