#8336: round(x) <> x.round() for x in RealField
---------------------------------+------------------------------------------
Reporter: zimmerma | Owner: robertwb
Type: defect | Status: closed
Priority: critical | Milestone:
sage-duplicate/invalid/wontfix
Component: basic arithmetic | Resolution: invalid
Keywords: | Work_issues:
Upstream: N/A | Reviewer:
Author: | Merged:
Dependencies: |
---------------------------------+------------------------------------------
Changes (by mhansen):
* status: needs_work => closed
* resolution: => invalid
* milestone: sage-4.8 => sage-duplicate/invalid/wontfix
Comment:
I'm going to close this as invalid now since we have the following
behavior:
{{{
sage: R = RealField(150)
sage: x = R(3493274823748475345934875398475345349.9343498375)
sage: y = round(x)
sage: y, type(y)
(3493274823748475345934875398475345350, <type
'sage.rings.integer.Integer'>)
sage: z = x.round()
sage: z, type(z)
(3493274823748475345934875398475345350, <type
'sage.rings.integer.Integer'>)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8336#comment:11>
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.