Are you looking for whole roots only? Or do you want to know that the 5th root of 34 is 2.024 ...? Or is "2" enough answer? If you need decimal places, you will need to do some math with floating point or fixed point.
You should read Calculate the main roots and note that he speaks of Newton's first approximation. If the error of about 0.03% is close enough, I would suggest you go with that. You probably want to create a table that you can use for initial approximations. This table is not as big as it seems. The cube root of 2 ^ 32 is only about 1626. You can easily calculate the squares, and it is easy to generate x ^ n if you can generate x ^ 2 and x ^ 3. Thus, the approximation is quite simple.
Another possibility is to build yourself a table of roots and use some kind of interpolation. Again, this table does not have to be very large if you consider the square root as a special case. The 5th root of 2 ^ 32 is less than 100, so you say a fairly small table to get a fairly large range of roots.
source share