On Aug 29, 12:02 pm, Nick Alexander <[EMAIL PROTECTED]> wrote:
> With a little work, Carl Witty's marvelous QQbar implementation could  
> help.  His code will do the "doubling precision" part for you, and you  
> can ask if any particular root is real -- but I found some bugs doing  
> this, shown below.
...
> {{{
> sage: t = (ZZ['x'].0^2 - 2).roots(QQbar)[0][0]
> sage: t.real()
> [-1.4142135623730952 .. -1.4142135623730949]
> sage: t.real() == t
> ---------------------------------------------------------------------------
> AttributeError                            Traceback (most recent call  
> last)

This bug was fixed in Sage 3.1.

Carl

--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to