radical(n,body)

On 2/12/07, Alec Mihailovs <[EMAIL PROTECTED]> wrote:
>
> ----- Original Message -----
> From: "Dirk Laurie" <[EMAIL PROTECTED]>
> >> {{{
> >> sage: exp(log(64)/3)
> >> 4.0
> >> }}}
> > Well, that works for the cube root of 64.  But note it's 4.0, not 4.
> > This exposes one to roundoff errors, which the other two methods
> > avoid.
>
> Well, that can be avoided by increasing the number of digits. Anyway, the
> winner is 64.nth_root(3) suggested by Didier Deshommes in another thread.
>
> I'd like to make a suggestion to add th_root method to all domains where
> nth_root is implemented, working as 3.th_root(64) in this example, with
> aliases st_root, nd_root and rd_root, so that it could be executed as
> 3.rd_root(64) that looks more natural to me than 64.nth_root(3).
>
> Alec
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to