#6373: AA and QQbar have no is_square method
---------------------------+------------------------------------------------
Reporter: ncalexan | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.1
Component: number theory | Keywords: algebraic field is square
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
{{{
sage: QQbar(5).is_square()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
...
AttributeError: 'AlgebraicNumber' object has no attribute 'is_square'
}}}
but of course:
{{{
sage: QQbar(5).sqrt()
2.236067977499790?
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6373>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---