I have also found the Math::NumberCruncher module, which seems to have a function for that.
In reply to Re: root function by Sixtease in thread root function by Anonymous Monk