#15166: representation of large RIF elements
-------------------------+---------------------------------------
   Reporter:  dkrenn     |            Owner:
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-5.12
  Component:  numerical  |         Keywords:  representation, RIF
  Merged in:             |          Authors:
  Reviewers:             |  Report Upstream:  N/A
Work issues:             |           Branch:
     Commit:             |     Dependencies:
   Stopgaps:             |
-------------------------+---------------------------------------
 {{{
 sage: RIF(1.84e13).exp()
 6.817557048799520?e-1915670837
 }}}
 is wrong ({{{sage: exp(1.84e13)}}} gives
 {{{6.81755704879952e7991018467019}}}).

 It seems that only the representation of the number is wrong, since
 {{{
 sage: (RIF(1.84e13).exp()).log()
 1.840000000000000?e13
 }}}
 and
 {{{
 sage: 7e7991018467019 > RIF(1.84e13).exp() > 6e7991018467019
 True
 }}}
 give the correct result.

--
Ticket URL: <http://trac.sagemath.org/ticket/15166>
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