Annotation of OpenXM_contrib/pari/COMPAT, Revision 1.1.1.1
1.1 maekawa 1: This file lists the incompatible changes between Version 1.39.15 and 2.0.x
2:
3: * The calculator GP:
4: ====================
5: - most function names have changed (see misc/new.dic or use whatnow under GP)
6: - lowercase / uppercase letters distinguished.
7: - the syntax \var = value is not recognized anymore. Use standard
8: metacommands instead.
9: (setting the compatibility level "compatible" to 3, with "default" will give
10: you those three back).
11:
12: - strict parenthesis matching before executing the command
13: (set strictmatch to 0 to get old behaviour)
14:
15: - functions label / goto have been removed (use break/next/return instead).
16: - conjugation x_ has been removed. '_' can be freely used in identifiers.
17: - \k metacommand removed
18:
19: - result history is now cyclic (older results are erased when the maximal
20: size "histsize" is reached).
21: - the Set() function turns objects into strings (so that set functions are
22: able to treat arbitrary objects). Use eval to turn them back to GENs.
23: - the type() function returns a string and not a number.
24: - sum(X=a,b,...,x) yields x if b<a. Analogous statement for prod.
25:
26: * The library PARI:
27: ===================
28: - use symbolic type names (t_INT, etc.). Don't use any explicit type number
29: in your programs since these are liable to change (they have not, but will).
30: - the codewords of GEN objects have a different internal structure. The
31: components should only be accessed through the documented macros. When
32: creating codeword x[1] for the GEN x, use the eval* macros (the set* ones
33: don't fill the codeword completely).
34: - the following constant names have changed ("pari" prepended): C1, C2, C3, K,
35: K1, K2, K4. The constant C31 has disappeared.
36: - prec and defaultpadicprecision are no longer global. The latter has
37: disapeared.
38: - char *pariversion not set anymore (use the macros PARIVERSION/PARIINFO)
39: - LONG_IS_32BIT is never defined (test whether LONG_IS_64BIT is defined
40: or not).
41: - gen2str() renamed to GENtostr().
42: - gitoascii() suppressed, use GENtostr().
43: - init() renamed to pari_init().
44: - the macro mant() has been suppressed.
45: - imprimer() suppressed. output() is now a function and can be used under
46: all debuggers.
47: - the prototypes and behaviour of gredsp() and normalize() have changed.
48: They are not documented anymore.
49: - the install() function has been modified (use codes instead of valence).
50: - gpuigs only has two arguments.
51: - integ now takes two arguments, like deriv.
52: - setrand, getrand, getstack, gettime, glength return a C long, and not a GEN.
53: - pari_randseed no longer global, use setrand/getrand
54: - gerepile(ltop,lbot,0) no longer returns ltop - lbot
55: - nf[5][7] stored in two element form (was Z-basis) for faster inversion
56: - t_POL and t_POLMOD can be freely mixed as long as main variables are the
57: same (result is the expected POLMOD)
58:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>