nth root

Tim timro21 at gmail.com
Sat Jan 31 03:45:27 CET 2009

In PythonWin I'm running a program to find the 13th root (say) of millions
of hundred-digit numbers.  I'm using
    n = 13
    root = base**(1.0/n)
which correctly computes the root to a large number of decimal places, but
therefore takes a long time.  All I need is the integer component.  Is there
a quicker way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090131/dfc7ceb0/attachment.html>

More information about the Python-list mailing list