#15501: floor(), ceil(), trunc(), round() for AA
-------------------------------------+-------------------------------------
Reporter: ppurka | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: Marc Mezzarobba | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mmezzarobba/ticket/15501-AA_floor_ceil|
2ce91a2450a2b5389be07acf1ec8eb748a8b7bd7
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by gagern):
I guess I should have thought two more minutes before pressing Submit.
Since you do call `_rational_` early in the loop, you can be sure that you
either detect critical integer or half-integer values, or there is some
finite difference between the value of self and the nearest critical
distance, so a finite number of added precision steps will be enough to
make the decision. Now things look pretty good to me.
--
Ticket URL: <http://trac.sagemath.org/ticket/15501#comment:10>
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.