#13033: Conversion PARI -> RR fails for large exponents
------------------------------+---------------------------------------------
       Reporter:  jdemeyer    |         Owner:  was     
           Type:  defect      |        Status:  new     
       Priority:  major       |     Milestone:  sage-5.1
      Component:  interfaces  |    Resolution:          
       Keywords:  sd40.5      |   Work issues:          
Report Upstream:  N/A         |     Reviewers:          
        Authors:              |     Merged in:          
   Dependencies:              |      Stopgaps:          
------------------------------+---------------------------------------------
Changes (by jdemeyer):

 * cc: zimmerma (added)


Old description:

> {{{
> sage: a = pari(10^6).erfc()
> sage: a
> 3.15934761259943 E-434294481910
> sage: a.debug()
> [&=0000000000f84d10] REAL(lg=3):0400000000000003
> (+,expo=-1442695040910):5ffffeb018acb072 9b56c6d11005bdc3
> sage: RR(a)
> 5.64243263573681e124617551
> }}}
>
> The exponent changed from -434294481910 to 124617551.

New description:

 {{{
 sage: a = pari(10^6).erfc()
 sage: a
 3.15934761259943 E-434294481910
 sage: a.debug()
 [&=0000000000f84d10] REAL(lg=3):0400000000000003
 (+,expo=-1442695040910):5ffffeb018acb072 9b56c6d11005bdc3
 sage: RR(a)
 5.64243263573681e124617551
 }}}

 The exponent changed from `-434294481910` to `124617551`.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13033#comment:2>
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.

Reply via email to