#8626: qqbar and SR
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  AlexGhitza
       Type:  defect    |      Status:  needs_work
   Priority:  major     |   Milestone:  sage-4.6  
  Component:  coercion  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
Description changed by jason:

Old description:

> It would be nice if roots of quadratics printed using the quadratic
> formula in QQbar, i.e.,
>
> {{{
> sage: QQbar(sqrt(2))
> sqrt(2)
> }}}
>
> Additionally, it would be nice if we could wrap qqbar elements as SR
> objects.

New description:

 It would be nice if roots of quadratics printed using the quadratic
 formula in QQbar, i.e.,

 {{{
 sage: QQbar(sqrt(2))
 sqrt(2)
 }}}

 Additionally, it would be nice if we could wrap qqbar elements as SR
 objects.

 The first patch just affects printing of qqbar elements.  The second lets
 you do more than just print (e.g., SR(QQbar(sqrt(2))) should give you
 sqrt(2), not just print sqrt(2))

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8626#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to