#8576: Categories for QQ, CC, RR and friends
---------------------------------+------------------------------------------
Reporter: nthiery | Owner: AlexGhitza
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: algebra | Keywords: categories, real fields
Author: Nicolas M. ThiƩry | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
After this patch, QQ,ZZ,... inherit properly from categories:
{{{
sage: QQ.category()
Category of fields
sage: TestSuite(QQ).run()
}}}
This patch also documents the following effect discovered by TestSuite:
{{{
sage: CDF = ComplexDoubleField()
sage: x = CDF.an_element()
sage: x
1.0*I
sage: x*x, x**2, x*x == x**2
(-1.0, -1.0 + 1.22460635382e-16*I, False)
}}}
This effect won't be touched by this patch. Should anyone consider this as
a bug, please open a new ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8576>
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.