#19825: Better comparison and conversion code for UCF
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-7.0
Component: number fields | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers: Travis Scrimshaw
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/19825 | 9735abbddaca5db6ce17ad405587043ac1dfcc08
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tscrim):
* status: needs_review => positive_review
* reviewer: => Travis Scrimshaw
Comment:
Even though it looks like the float lost precision, it is in fact closer
to the actual value:
{{{
sage: float(1.002000) # Trailing 0's are removed
1.002
sage: x = E(7) + E(7,6)
sage: x.n(1000)
1.2469796037174670610500097680084...
}}}
So LGTM.
--
Ticket URL: <http://trac.sagemath.org/ticket/19825#comment:4>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.