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

calling ** a home-made function

I wouldn't call the ** operator a "function" at all. ;-)

I didn't mean anything wrong by home-made but just tried to answer the op literally with an alternative solution. Nothing too serious.

Replies are listed 'Best First'.
Re^4: root function
by ikegami (Patriarch) on Jun 22, 2008 at 15:19 UTC
    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