#7276: Fix PPC issues in totallyreal_rel.py
-----------------------------+----------------------------------------------
Reporter: kcrisman | Owner: davidloeffler
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.2.1
Component: number fields | Keywords: PPC, powerpc, lattice
Work_issues: | Author:
Reviewer: | Merged:
-----------------------------+----------------------------------------------
Comment(by was):
Remark from John Voight:
"...what a mess! I'm so sorry. (Next time, feel free to contact
me earlier if there are issues with my code that I can be of help
with.)
The algorithm used is described in
http://www.cems.uvm.edu/~voight/articles/ANTS144.pdf
in Section 3.1 (page 9), "Lattice points in boxes". There is
absolutely a rounding issue which I can see as failing miserably in
low precision. Off the top of my head, one might be able to fix the
issue by replacing a ceiling with a floor + 1, or even a ceiling +
1--but even then, this assumes the precision loss is so constrained...
I won't have a chance to work on the doctest until the weekend, but
it's in my queue now.
JV"
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7276#comment:12>
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
-~----------~----~----~----~------~----~------~--~---