in reply to Re^3: root function
in thread root function

You apparently missed my point: Your solution has the same problems as **:
>perl -le"use POSIX qw( pow ); print pow(-3, 1/3); -1.#IND