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