Current Path : /compat/linux/proc/self/root/usr/local/include/pari/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/include/pari/pariold.h |
/* $Id: pariold.h 7860 2006-04-12 08:48:32Z kb $ Copyright (C) 2000 The PARI group. This file is part of the PARI/GP package. PARI/GP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY WHATSOEVER. Check the License for details. You should have received a copy of it, along with the package; see the file 'COPYING'. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* For compatibility with 1.x.x */ /*functions renamed*/ #define decomp Z_factor #define gmodulcp gmodulo #define forcecopy gcopy #define lseriesell elllseries #define gcarrecomplet gissquarerem #define gcarreparfait gissquare #define rnfhermitebasis rnfhnfbasis #define wf weberf #define wf1 weberf1 #define wf2 weberf2 #define polun pol_1 #define polx pol_x #define coefs_to_col mkcoln #define coefs_to_int mkintn #define coefs_to_pol mkpoln #define coefs_to_vec mkvecn #define localreduction elllocalred #define idmat matid #define globalreduction ellglobalred #define taniyama(e) elltaniyama((e),precdl) #define chinois chinese #define binome binomial #define egalii equalii #define gegal gequal #define gegalgs gequalgs #define gegalsg gequalsg #define zero (long)gen_0 #define un (long)gen_1 #define deux (long)gen_2 #define gzero gen_0 #define gun gen_1 #define gdeux gen_2 #define realzero real_0 #define realzero_bit real_0_bit #define realun real_1 #define realmun real_m1 #define err pari_err /* move to e.g paritr.h ? */ #define init pari_init #define gen2str GENtostr #define gpui gpow #define gpuigs gpowgs #define classno3 hclassno #define strtoGEN gp_read_str #define flisexpr gp_read_str #define flisseq gp_read_str #define lisseq readseq #define lisGEN gp_read_stream #define lisexpr readseq #define permute numtoperm #define permuteInv permtonum #define evallgef(x) 0 #define lgef lg #define setlgef setlg #define leadingcoeff(x) (pollead((x),-1)) #define poldivres poldivrem #define nfdivres nfdivrem #define gred gcopy #define pvaluation Z_pvalrem #define svaluation u_lvalrem #define isprincipalrayall bnrisprincipal #define rayclassno bnrclassno #define rayclassnolist bnrclassnolist #define idealhermite2 idealhnf0 #define apprgen padicappr #define apprgen9 padicappr #define factmod9 factorff #define ggrandocp ggrando #define glogagm glog #define logagm mplog #define mpsqrtz gopgz(absr,(x),(y)) #define adduumod Fl_add #define subuumod Fl_sub #define muluumod Fl_mul #define divuumod Fl_div #define powuumod Fl_pow #define invumod Fl_inv #define invsmod Fl_inv_signed #define mpinvmod Fp_inv #define powmodulo Fp_pow #define mpsqrtmod Fp_sqrt #define mpsqrtnmod Fp_sqrtn #define mpsqrt sqrtr #define mpsqrtn sqrtnr #define resii remii #define resis remis #define ressi remsi #define resss remss #define resiiz remiiz #define resisz remisz #define ressiz remsiz #define resssz remssz #define gres grem #define lres lrem #define gdivise gdvd #define divise dvdii #define mpdivis dvdiiz #define mpdivisis dvdisz #define mpent mpfloor #define mpentz mpfloorz #define mpnegz(x,y) \ STMT_START {pari_sp _av=avma;mpaff(mpneg(x),y);avma=_av;} STMT_END #define mpabsz(x,y) \ STMT_START {pari_sp _av=avma;mpaff(mpabs(x),y);avma=_av;} STMT_END #define absrz(x,z) mpabsz((x),(z)) #define negrz(x,z) mpnegz((x),(z)) /*casts*/ #define labsi (long)absi #define labsr (long)absr #define lach (long)gach #define lacos (long)gacos #define ladd (long)gadd #define laddgs (long)gaddgs #define laddii (long)addii #define laddir (long)addir #define laddis (long)addis #define laddrr (long)addrr #define laddsg (long)gaddsg #define laddsi (long)addsi #define laddmat (long)gaddmat #define laddrs (long)addrs #define laddsr (long)addsr #define ladj (long)adj #define larg (long)garg #define lash (long)gash #define lasin (long)gasin #define lassmat (long)assmat #define latan (long)gatan #define lath (long)gath #define lbezout (long)bezout #define lbinome (long)binomial #define lcaract (long)caract #define lcaradj (long)caradj #define lceil (long)gceil #define lch (long)gch #define lchangevar (long)changevar #define lclone (long)gclone #define lconcat (long)concat #define lconj (long)gconj #define lcontent (long)content #define lcopy (long)gcopy #define lcos (long)gcos #define lcvtoi (long)gcvtoi #define lderiv (long)deriv #define ldet2 (long)det2 #define ldet (long)det #define ldeuc (long)gdeuc #define ldiscsr (long)discsr #define ldiventgs (long)gdiventgs #define ldiventsg (long)gdiventsg #define ldivgs (long)gdivgs #define ldivii (long)divii #define ldivir (long)divir #define ldivis (long)divis #define ldivmod (long)gdivmod #define ldivri (long)divri #define ldivrr (long)divrr #define ldivrs (long)divrs #define ldivsg (long)gdivsg #define ldivsi (long)divsi #define ldivsr (long)divsr #define ldvmdii (long)dvmdii #define ldvmdis (long)dvmdis #define ldvmdsi (long)dvmdsi #define lexp (long)gexp #define lfibo (long)fibo #define lfloor (long)gfloor #define lfrac (long)gfrac #define lgamd (long)ggamd #define lgamma (long)ggamma #define lgauss (long)gauss #define lgcd (long)ggcd #define lgetg (long)cgetg #define lgeti (long)cgeti #define lgetp (long)cgetp #define lgetr (long)cgetr #define licopy (long)icopy #define limag (long)gimag #define linteg (long)integ #define linv (long)ginv #define linvmat (long)invmat #define linvmod (long)ginvmod #define llegendre (long)legendre #define llift (long)lift #define llngamma (long)glngamma #define llog (long)glog #define lmaxgs (long)gmaxgs #define lmax (long)gmax #define lmaxsg (long)gmaxsg #define lmings (long)gmings #define lmin (long)gmin #define lminsg (long)gminsg #define lmodgs (long)gmodgs #define lmodii (long)modii #define lmod (long)gmod #define lmodsg (long)gmodsg #define lmodsi (long)modsi #define lmodulcp (long)gmodulo #define lmodulo (long)gmodulo #define lmpabs (long)mpabs #define lmpadd (long)mpadd #define lmpcos (long)mpcos #define lmpdiv (long)mpdiv #define lmpent (long)mpent #define lmpeuler (long)mpeuler #define lmpexp1 (long)mpexp1 #define lmpexp (long)mpexp #define lmpfact (long)mpfact #define lmplog (long)mplog #define lmpmul (long)mpmul #define lmpneg (long)mpneg #define lmppgcd (long)mppgcd #define lmppi (long)mppi #define lmpshift (long)mpshift #define lmpsin (long)mpsin #define lmpsqrt (long)mpsqrt #define lmpsub (long)mpsub #define lmptrunc (long)mptrunc #define lmul2n (long)gmul2n #define lmulgs (long)gmulgs #define lmulii (long)mulii #define lmulir (long)mulir #define lmulis (long)mulis #define lmul (long)gmul #define lmulri (long)mulri #define lmulrr (long)mulrr #define lmulrs (long)mulrs #define lmulsg (long)gmulsg #define lmulsi (long)mulsi #define lmulsr (long)mulsr #define lmulss (long)mulss #define lnegi (long)negi #define lneg (long)gneg #define lnegr (long)negr #define lnorml2 (long)gnorml2 #define lnorm (long)gnorm #define lpile (long)gerepile #define lpilecopy (long)gerepilecopy #define lpileupto (long)gerepileupto #define lpileuptoint (long)gerepileuptoint #define lpileuptoleaf (long)gerepileuptoleaf #define lpoleval (long)poleval #define lpowgs (long)gpowgs #define lprec (long)gprec #define lpsi (long)gpsi #define lpuigs (long)gpuigs #define lpui (long)gpui #define lquadgen (long)quadgen #define lquadpoly (long)quadpoly #define lracine (long)racine #define lrcopy (long)rcopy #define lreal (long)greal #define lrecip (long)recip #define lred (long)gred #define lremii (long)remii #define lrem (long)grem #define lrndtoi (long)grndtoi #define lroots (long)roots #define lscalmat (long)gscalmat #define lscalsmat (long)gscalsmat #define lsh (long)gsh #define lshifti (long)shifti #define lshift (long)gshift #define lshiftr (long)shiftr #define lsin (long)gsin #define lsqri (long)sqri #define lsqr (long)gsqr #define lsqrt (long)gsqrt #define lstoi (long)stoi #define lsub (long)gsub #define lsubgs (long)gsubgs #define lsubii (long)subii #define lsubir (long)subir #define lsubis (long)subis #define lsubres (long)subres #define lsubri (long)subri #define lsubrr (long)subrr #define lsubrs (long)subrs #define lsubst (long)gsubst #define lsubsg (long)gsubsg #define lsubsi (long)subsi #define lsubsr (long)subsr #define ltan (long)gtan #define ltchebi (long)tchebi #define lth (long)gth #define ltrace (long)gtrace #define ltrans (long)gtrans #define ltrunc (long)gtrunc #define lutoi (long)utoi #define lhalf (long)ghalf #define lpolx (long)pol_x #define lpolun (long)pol_1 #ifdef lround /* in some Mac header */ # undef lround #endif #define lround (long)ground #ifdef ldiv /* predefined macro on some AIX versions --GN1997Jan27 */ # undef ldiv #endif #define ldiv (long)gdiv