Changes for version 2.030519
- Patch for 2.9.5 had a chunk which was too long. Document the mess with section numbers. In .xs, change listPari() to _listPari(). Map section numbers from "old numbers" in listPari(). Do not use added_sections() now, when it is checked in the test suite.
- \cM inserted on Win in language/init.h, gp/gp_init.h (autogenerated?!). Not with GP/PARI build method! To fix, need: perl -wlpe "BEGIN{binmode STDIN; binmode STDOUT} s/\x0d/\x22\n \x22\\x0d\x22 \x22/g" init.h-pre >init.h-pre-post Generated by: $^X -I. gen_proto gp pari.desc XXX??? If $^X is cygwin, but pari.desc is generated with DOSISH line endings, this is what is going to happen. HOW ??? Also: it is guarded by unless -r $outfile...
- XXX localvars_read_str(), localvars_find(), prototype='C' XXX lookup pari-gnump XXX PARI may have been initialized already by a different library https://pari.math.u-bordeaux.fr/archives/pari-dev-1409/msg00016.html May need a flag for pari_init() which ensures (or does not require) a known state?
- Infrastructure for PARI-closure trampolines (va_list versions of call-into-Perl etc) with newer PARI. (XXXX entree for handler ___fake_MathPari_handler1var is marked with a "wrong" menu!). Allow G_VOID variant of callPerlFunction_var() to ignore 1-value return from a Perl function. New typemap entry PariExprV (with void return). Instrument intervace*() calls to use this entry if appropriate. XXX Currently only sub ($) {FOO} is allowed as Perl-code (not compatible with older GP/PARI), and only with one argument.
- was:
- Failed 18/227 test programs. 176/1517 subtests failed. now (only with newer 32-bit???) Failed 19/227 test programs. 190/1517 subtests failed.
- D:\Programs\cygwin2016\bin\perl -Mblib -MMath::Pari -wle "PARI('default(realprecision,50)'); print PARI 'default(realprecision)'; print Math::Pari::setprecision()" Local precision 28, global 57; who set local??? /* Our variable, not changed by default (): */ fmt_nb = def_fmt_nb;
- Conditionally enable crash_yourself() (for debugging a debugger).
- Makefile.PL: Add new target subdirs-make to avoid entering libPARI twice (which was breaking a parallel make). (Fix-of-fix: Fix the logic: it was too fragile.) Remove subdirs_dynamic as a dependence of dynamic (XXX introduced at least in perl 5.22???) Allow -g on broken architectures (which hardwire OPTIMIZE into CC) even when %Config is tied
- test_eng/Testout.pm: better we-are-skipping-it-message for Pari tests not enabling echoing (which we do not know how to test anyway)
- gdbinit_my: Document the macros typemap: Support void-return PariExpr
Modules
Perl interface to PARI.
load Math::Pari with specified $primelimit and $initmem.
utility functions used during configuration of Math::Pari.