#16163: Fix converion from AA to RealField()
-------------------------+-----------------------------
Reporter: tmonteil | Owner: tmonteil
Type: defect | Status: new
Priority: major | Milestone: sage-6.2
Component: numerical | Keywords: mpfr, RIF
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------+-----------------------------
As discussed in #16120, the conversion from `AA` to `RR` is not accurate:
{{{
sage: UCF.<E> = UniversalCyclotomicField()
sage: e = AA(3/2*E(7) + E(7)^3 + E(7)^4 + 3/2*E(7)^6)
sage: RR(e).exact_rational() - e
1.328?e-17
sage: RR(e).nextbelow().exact_rational() - e
-6.0?e-19
}}}
The aim of this ticket is to fix this.
--
Ticket URL: <http://trac.sagemath.org/ticket/16163>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.