#15542: Rounding weirdness when increasing the precision of a real number
----------------------------+----------------------------------------------
       Reporter:            |        Owner:
  mmezzarobba               |       Status:  positive_review
           Type:  defect    |    Milestone:  sage-duplicate/invalid/wontfix
       Priority:  major     |   Resolution:
      Component:            |    Merged in:
  numerical                 |    Reviewers:  Jeroen Demeyer
       Keywords:            |  Work issues:
        Authors:            |       Commit:
Report Upstream:  N/A       |     Stopgaps:
         Branch:            |
   Dependencies:            |
----------------------------+----------------------------------------------

Comment (by jdemeyer):

 Replying to [comment:3 zimmerma]:
 > I find this "feature" quite inconsistent with what is done for other
 fields:
 I agree, but that's not the topic of this ticket. You could consider
 creating 3 new tickets for the inconsistencies below (but I personally
 don't care enough to fix them).

 > {{{
 > sage: ComplexField(200)(CC(1.0e-20))
 > 9.9999999999999994515327145420957165172950370278739244710772e-21
 > sage: RealIntervalField(100)(RIF("1.0e-20"))
 > [9.9999999999999994515327145420957e-21 ..
 1.0000000000000000956165483594624e-20]
 > sage: Reals(200)(RR("1.0e-20"))
 > 9.9999999999999994515327145420957165172950370278739244710772e-21
 > }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15542#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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to