On Mar 16, 2:37 am, "didier  deshommes" <[EMAIL PROTECTED]> wrote:
> On Mar 16, 2:23 am, "Nick Alexander" <[EMAIL PROTECTED]> wrote:
>
> > Is this because of precision issues?  In that case, I still think this
> > should return [(1.0000..., 1), (1.0000...., 1)] and be documented as
> > such.
>
> > sage: (CC(1)*(x-1)**2).roots()
> >  [1.00000000000000, 1.00000000000000]
>
> > sage: ((x-1)**2).roots()
> >  [(1, 2)]
>
> 2 here refers to multiplicity. The result of roots() are fine, it's
> the behavior accross fields that is inconsistent.

In other words, I am agreeing with you :)

didier


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to