In the mean time, I added another upstream fix to PARI: issquarefree(0) used to raise an error instead of returning 0.
Three tickets, including the gcc spkg (hence, OS X 10.7 support) depend on this, so I consider it an important ticket. So, please review: http://trac.sagemath.org/sage_trac/ticket/12638 On 2012-03-15 15:58, Jeroen Demeyer wrote: > Two patches need to be added to the PARI sources: > > 1. GCC 4.6.3 miscompiles src/language/init.c on OS X 10.4 PPC (32-bit), > because of a problem with pointer arithmetic in stack_base() called in > pari_init_functions(). There is an easy work-around by reordering some > code in the PARI sources. Related to #12369. > > 2. PARI's ispower() function gives wrong results when applied to > negative numbers. Related to #12116. > > > Please review the PARI spkg at: > http://trac.sagemath.org/sage_trac/ticket/12638 > > Thanks, > Jeroen. > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org