Task

Implement the algorithm to compute the principal   nth   root   





A

n





{\displaystyle {\sqrt[{n}]{A}}}

   of a positive real number   A,   as explained at the   Wikipedia page.



Float method: nthroot(n)
   1.0 doWhile: [ self over n 1 - pow / over - n / tuck + swap 0.0 <> ] ;