#13003: numerical evaluation of `erf` crashes PARI at large numbers
-----------------------------------+----------------------------------------
       Reporter:  benjaminfjones   |         Owner:  burcin  
           Type:  defect           |        Status:  new     
       Priority:  minor            |     Milestone:  sage-5.1
      Component:  symbolics        |    Resolution:          
       Keywords:  erf pari sd40.5  |   Work issues:          
Report Upstream:  N/A              |     Reviewers:          
        Authors:                   |     Merged in:          
   Dependencies:                   |      Stopgaps:          
-----------------------------------+----------------------------------------

Comment (by dsm):

 FWIW (and for the record) I get slightly different behaviour on an ubuntu
 12.04 vbox running on a core duo macbook with 5.1.beta0:

 {{{

 sage: for i in range(10):
 ....:     try:
 ....:         print erf(45*10**i).n()
 ....:     except:
 ....:         print 'problem'
 ....:
 1.00000000000000
 1.00000000000000
 1.00000000000000
 problem
 problem
 problem
 problem
 problem
 problem
 problem

 }}}

 where the problem is the same Pari (15) error in the ticket.  Pari should
 certainly be returning 1 here, although any error is certainly better than
 -1.89139086613300e232327576..

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