#9343: upgrade pari to version 2.4.3
------------------------------------------------------------------------------------------+
   Reporter:  was                                                               
          |       Owner:  tbd       
       Type:  enhancement                                                       
          |      Status:  new       
   Priority:  major                                                             
          |   Milestone:  sage-4.5.2
  Component:  packages                                                          
          |    Keywords:            
     Author:  Robert Bradshaw, John Cremona, Jeroen Demeyer, William Stein, 
David Kirkby  |    Upstream:  N/A       
   Reviewer:                                                                    
          |      Merged:            
Work_issues:                                                                    
          |  
------------------------------------------------------------------------------------------+

Comment(by jdemeyer):

 The last patch fixes the tanh() issue, it was caused by RR(0.0)._pari_()
 creating an invalid GEN (it took me a very long time to figure this out).

 I added a debug() function to gen objects calling dbgGEN() from the pari
 library, example:
 {{{
 sage: pari('[1/2, 1.0*I]').debug()  # random addresses
 [&=0000000004c5f010] VEC(lg=3):2200000000000003 0000000004c5eff8
 0000000004c5efb0
   1st component = [&=0000000004c5eff8] FRAC(lg=3):0800000000000003
 0000000004c5efe0 0000000004c5efc8
     num = [&=0000000004c5efe0] INT(lg=3):0200000000000003
 (+,lgefint=3):4000000000000003 0000000000000001
     den = [&=0000000004c5efc8] INT(lg=3):0200000000000003
 (+,lgefint=3):4000000000000003 0000000000000002
   2nd component = [&=0000000004c5efb0] COMPLEX(lg=3):0c00000000000003
 00007fae8a2eb840 0000000004c5ef90
     real = gen_0
     imag = [&=0000000004c5ef90] REAL(lg=4):0400000000000004
 (+,expo=0):6000000000000000 8000000000000000 0000000000000000
 }}}

 Apart from that, a lot of cleanups, and some more doctests.

 As far as I can tell, everything works now on my system, apart from some
 doctest failures in elliptic_curves (again, I do not plan to look at
 this).

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