The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2.030510

  • Use $(PARIDIR) in results of extra_include(). For 2.7.0, build mt subsystem. (Temporarily) hardwire 'single' as mt subsystem. Redo patches for 2.7.0 (not auto-applied yet). New patch diff-2.7.0-reinstall-foreigh (to the level of 2.5.0???) => libPARI builds. Update Pari.xs to new macros (and code) in 2.7.0. 00_Pari.t needed to be updated for new error message in division by 0. Failed 18/163 test programs. 177/1388 subtests failed. Support argumentless default prototypes for 'P', 'r', 's'. Fixes perl -Mblib -MMath::Pari=:all -wle "print default('realprecision')" Unsupported code '{' in signature of a PARI function at -e line 1. Failed 18/163 test programs. 176/1388 subtests failed. (2.7.0) Failed 18/163 test programs. 178/1399 subtests failed. (2.7.6)
  • XXX Tests are run with "$RUNTEST $gp -q --test > $file_test 2>&1"; try "gp -f -q --test -D echo=1 < src/test/in/xxx" XXX default() is documented as unsupported. XXX PARIvar() — how it interacts with lexicals??? XXX Need to treat parts of tests before \e. Fix the error in POD. Autoinstall patches for 2.7.*. More functions: https://pari.math.u-bordeaux.fr/archives/pari-users-1712/msg00014.html Reversible cvt2str: https://pari.math.u-bordeaux.fr/archives/pari-users-1712/msg00032.html Autoinstall patches for 2.9.*. (XXX: Unsorted.) Disable aliasing to pari_err starting with 2.3.0 (disappeared in 2.2.12). (Now libPARI of 2.9.0 compiles.) XXX (Temporarily???) switch to myPARI_top, myPARI_bot. Switch to using new names gen_0, gen_1, readseq(), gequal(), gpow() (last two should be available in Perl too; XXX: overload???). Do not use forcecopy() on newer PARI. Abstract code into my_find_named_var(). XXX May need to treat the newer “sections” too. (Member functions, default???) XXX Need to handle new sections in Pari.pm. Remove some very old “#if 0”s. Support new place for graphing defaults. (Everything compliles; does not link on 2.9.0.) XXX Many explicit references to PARI dir in Makefiles. Support new header divll_pre.h (undocumented!). Support removal of functions_highlevel and lgef(). Include plottty.c, plotps.c if present. (Links on 2.9.0) XXX Added sections??? (We have code, but it is not used yet..) 1 crash in tests: Failed 18/200 test programs. 113/822 subtests failed. (With -Og, elliptic.t loops.) XXX Code 'b', localprec(), localbitprec()??? get_localprec()! 2.8.0 XXX d_INITRC??? XXX Our printing routines use a constant precision def_fmt_nb. Support: precreal changed meaning, but not 'p'!!! 1 crash (only under test suite???!), Failed 18/200 test programs. 119/835 subtests failed. XXX cb_exception_resets_avma is put to 0 during reallocation; need to restore it after every eval (in case we ran out of memory). XXX paristack_newrsize() is new path of unconditional exception. Should we treat e=-1 specially??? b _svErrdie with t/55_intnum.t XXX .h files in libPARI/Makefile are not using PARIDIR.
    • #0 _svErrdie (e=-1) at Pari.xs:810 #1 0x694fe407 in paristack_newrsize (newsize=20000000) at ../pari-2.9.0/src/language/init.c:765 #2 0x694c55c2 in s_allocatemem (newsize=20000000) at Pari.xs:1516
  • XXX Help from PARI developers: https://pari.math.u-bordeaux.fr/archives/pari-users-1711/msg00033.html XXX On Win64 need: config/convertllp64 XXX Already had a failure when we fail after 59 tests in 00_Pari.t with Math-Pari-2.01080900 : panic: XSUB Math::Pari::memUsage (Pari.c) failed to extend arg stack: base=555c101a3a40, sp=555c101a3a60, hwm=555c101a3a58 http://www.cpantesters.org/cpan/report/7cf92e4c-4b57-11e8-8eb4-9f2c675344ca An extra patch to check_proto() is needed. => 2 crashes, Failed 18/200 test programs. 131/852 subtests failed.

Modules

Perl interface to PARI.
load Math::Pari with specified $primelimit and $initmem.
utility functions used during configuration of Math::Pari.

Provides

in PariInit.pm
in Pari.pm