Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I am surprised that this was not proposed before. Perhaps because it is so easy to write x**(1/3), and if you want a real root of negative argument, it is -(-x)**(1/3). It can be slightly less accurate that the result of C library function cbrt(), but good enough for any practical applications. Ajith, was you aware of x**(1/3)? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44357> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com