/dports/math/p5-Math-Pari/pari-2.3.5/src/basemath/ |
H A D | arith2.c | 1151 return gerepileuptoint(av,m); in phi() 1156 return gerepileuptoint(av,m); in phi() 1187 return gerepileuptoint(av,m); in numbdiv() 1192 return gerepileuptoint(av,m); in numbdiv() 1229 return gerepileuptoint(av, m); in sumdiv() 1234 return gerepileuptoint(av,m); in sumdiv() 1361 return gerepileuptoint(av, c); in corepartial() 1398 return gerepileuptoint(av, shifti(c,2)); in coredisc() 1783 return gerepileuptoint(ltop, z); in gbitand() 1808 return gerepileuptoint(ltop,z); in gbitxor() [all …]
|
H A D | arith1.c | 1324 return gerepileuptoint(av,v); in sqrt_Cipolla() 1356 return gerepileuptoint(av,v); in Fp_sqrt() 1412 return gerepileuptoint(av, v); in Fp_sqrt() 1552 a = gerepileuptoint(ltop, a); in Fp_sqrtn() 1571 return gerepileuptoint(av, p2); in lcmii() 1666 return gerepileuptoint(av, modii(c, C)); in Z_chinese_coprime() 1949 return gerepileuptoint(av,y); in Fp_pow() 2089 return gerepileuptoint(av, s); in quaddisc() 2111 return gerepileuptoint(av, x); in seq_umul() 2164 return gerepileuptoint(av, a); in fibo() [all …]
|
H A D | base3.c | 245 gel(v,k) = gerepileuptoint(av,s); in element_muli() 283 gel(v,k) = gerepileuptoint(av,s); in element_sqri() 1229 return gerepileuptoint(av,addsi(-1,v)); in Fp_shanks() 1236 p1 = gerepileuptoint(av1, p1); in Fp_shanks() 1286 return gerepileuptoint(av, lift(chinese1(v))); in Fp_PHlog() 1304 return gerepileuptoint(av, shifti(ord,-1)); in ff_PHlog_Fp() 1315 return gerepileuptoint(av, n_q); in ff_PHlog_Fp() 1361 return gerepileuptoint(av, addsi(-1,v)); in ffshanks() 1412 return gerepileuptoint(av, lift(chinese1(v))); in ff_PHlog() 1423 return gerepileuptoint(av, ff_PHlog(A,G,T,p)); in nf_PHlog() [all …]
|
H A D | ifactor1.c | 118 c = gerepileuptoint(av, c); in bad_for_base() 674 return gerepileuptoint(av, n); in nextprime() 715 return gerepileuptoint(av, n); in precprime() 895 if (!(i&7)) gl = gerepileuptoint(tetpil, gl); in elladd0() 960 if (!(i&7)) gl = gerepileuptoint(tetpil, gl); in elladd2() 971 if (!(i&7)) gl = gerepileuptoint(tetpil, gl); in elladd2() 1020 if (!(i&7) && i) gl = gerepileuptoint(tetpil, gl); in elldouble() 2484 avma = (pari_sp)y; *pt = gerepileuptoint(av, y); in is_357_power() 3883 return gerepileuptoint(av, tau); in ifac_numdiv() 3917 return gerepileuptoint(av, sigma); in ifac_sumdiv() [all …]
|
H A D | gen1.c | 160 gel(z,2) = gerepileuptoint((pari_sp)z, u); in add_intmod_same() 172 gel(z,2) = gerepileuptoint((pari_sp)z, remii(mulii(x,y), X) ); in mul_intmod_same() 184 gel(z,2) = gerepileuptoint((pari_sp)z, remii(mulii(x, Fp_inv(y,X)), X) ); in div_intmod_same() 612 gel(z,1) = gerepileuptoint((pari_sp)z, addii(mulii(x1,y2), mulii(y1,x2))); in addfrac() 703 gel(z,2) = gerepileuptoint(av, remii(p1, gel(z,1))); return z; in gadd() 1271 gel(z,2) = gerepileuptoint(av, remii(p1, gel(z,1))); return z; in gmul() 1664 gel(z,2) = gerepileuptoint((pari_sp)z, remii(sqri(gel(x,2)), X)); in gsqr() 1691 gel(z,4) = gerepileuptoint(av, remii(sqri(gel(x,4)), gel(z,3))); in gsqr() 1961 gel(z,2) = gerepileuptoint(av, remii(p1, gel(z,1))); return z; in gdiv() 2319 gel(z,2) = gerepileuptoint((pari_sp)z, modii(mulsi(s,gel(y,2)), p)); in gmulsg() [all …]
|
H A D | Qfb.c | 60 if (sx < 0) p1 = gerepileuptoint((pari_sp)y, addsi(1,p1)); in Zquadpoly() 275 isqrtD = gerepileuptoint(av, addsi(-1,isqrtD)); in qfr_unit_by_disc() 277 gel(y,3) = gerepileuptoint(av, shifti(subii(sqri(isqrtD), D),-2)); in qfr_unit_by_disc() 303 gel(y,3) = gerepileuptoint(av, addis(gel(y,3),-1)); in qfi_unit_by_disc() 1004 gel(y,3) = gerepileuptoint(av, c); in primeform_u() 1050 if ((!signe(b) && s) || mod2(b) != s) b = gerepileuptoint(av, subii(absp,b)); in primeform() 1053 gel(y,3) = gerepileuptoint(av, diviiexact(shifti(subii(sqri(b), x), -2), p)); in primeform()
|
H A D | bibli2.c | 54 a = gerepileuptoint(av, negi(a)); in tchebi() 64 a = gerepileuptoint(av, negi(a)); in tchebi() 501 C[k] = gerepileuptoint(av, diviiexact(mulsi(n-k+1, C[k-1]), utoipos(k))); in vecbinome() 882 if ((r & 0x1f) == 0) x = gerepileuptoint(av, x); in numtoperm() 913 return gerepileuptoint(av, res); in permtonum()
|
/dports/math/pari/pari-2.13.3/src/basemath/ |
H A D | matperm.c | 97 return gerepileuptoint(av, zm_permanent(ZM_to_zm(M))); in ZM_permanent() 139 if (gc_needed(av2, 1)) p = gerepileuptoint(av2, p); in zm_permanent() 142 return gerepileuptoint(av, p); in zm_permanent()
|
H A D | arith2.c | 578 return gerepileuptoint(av, corefa(Z_factor_limit(n,all))); in corepartial() 637 return gerepileuptoint(av, shifti(c,2)); in coredisc() 767 return gerepileuptoint(av, ZV_prod(Q)); in eulerphi() 808 return gerepileuptoint(av, zv_prod_Z(E)); in numdiv() 856 return gerepileuptoint(av, v); in sumdiv() 893 if (k1 > 0) return gerepileuptoint(av, v); in sumdivk() 1172 return gerepileuptoint(av, z); in fromdigitsu() 1289 return gerepileuptoint(av, S); in sumdigits() 1311 return gerepileuptoint(av, ZV_sum(Flv_to_ZV(z))); in sumdigits0() 1314 return gerepileuptoint(av, ZV_sum(binary_2k(x, k))); in sumdigits0() [all …]
|
H A D | ZV.c | 117 gel(z,i) = gerepileuptoint(av,s); in ZM_nc_mul_i() 131 return gerepileuptoint(av,s); in ZV_zc_mul() 147 gel(z,i) = gerepileuptoint(av,s); in ZM_zc_mul_i() 171 gel(z,j) = gerepileuptoint(av,s); in zv_ZM_mul() 378 return gerepileuptoint(av, c); in ZMrow_ZC_mul_i() 608 return gerepileuptoint(av, c); in ZV_dotproduct_i() 773 return gerepileuptoint(av,z); in ZV_dotsquare() 1393 return gerepileuptoint(av, c); in ZV_content() 1406 return gerepileuptoint(av,s); in ZM_det_triangular() 1470 return gerepileuptoint(av, n); in ZV_prod() [all …]
|
H A D | bit.c | 412 return gerepileuptoint(ltop, ibittrunc(inegate(x), bits)); in gbitneg() 600 return gerepileuptoint(ltop, inegate(z)); in gbitor() 624 return gerepileuptoint(ltop, z); in gbitand() 648 return gerepileuptoint(ltop,z); in gbitxor() 673 return gerepileuptoint(ltop,z); in gbitnegimply()
|
H A D | arith1.c | 237 return gerepileuptoint(av, z); in rootsof1_Fp() 247 return gerepileuptoint(av, z); in rootsof1u_Fp() 2439 return gerepileuptoint(av,v); in Fp_sqrt_i() 3619 return gerepileuptoint(av, A); in Fp_powu() 3690 return gerepileuptoint(av,y); in Fp_pow() 4221 return gerepileuptoint(av, l); in Fp_log_index() 4439 return gerepileuptoint(av, x); in znlog() 4724 return gerepileuptoint(av, a); in mpfact() 4764 v = gerepileuptoint(av, v); in factorial_Fp() 4797 return gerepileuptoint(av, a); in fibo() [all …]
|
H A D | bibli2.c | 48 togglesign(a); a = gerepileuptoint(av, a); in polchebyshev1() 111 togglesign(a); a = gerepileuptoint(av, a); in polchebyshev2() 198 gel(r--,0) = a = gerepileuptoint(av, a); in polhermite() 276 togglesign(a); a = gerepileuptoint(av, a); in pollegendre() 304 gel(r--,0) = a = gerepileuptoint(av, a); in pollegendre_reduced() 957 return gerepileuptoint(ltop,z); in binomialuu() 1004 return gerepileuptoint(av, y); in binomial() 1087 return gerepileuptoint(av, diviiexact(s, mpfact(m))); in stirling2() 1112 t = gerepileuptoint(ltop, t); in stirling1() 1113 s = gerepileuptoint(avma, s); in stirling1() [all …]
|
H A D | FpE.c | 424 return gerepileuptoint(av, r); in FpE_order() 444 return gerepileuptoint(av, r); in FpE_log() 587 return gerepileuptoint(av, Fp_div(N, D, p)); in FpE_Miller() 600 return gerepileuptoint(ltop, w); in FpE_weilpairing() 877 return gerepileuptoint(av, subii(addiu(p,1), ap)); in Fp_ellcard_Shanks() 1077 return gerepileuptoint(av, KRO==1? h: subii(p2p,h)); in Fp_ellcard_Shanks() 1328 return gerepileuptoint(av,Fp_div(gel(z,1),gel(z,2),p)); in Fp_ellj() 1345 return gerepileuptoint(av, subii(addiu(p,1),a)); in Fp_ellcard_CM() 1910 return gerepileuptoint(av, te); in elltrace_extension() 1919 return gerepileuptoint(av, subii(addiu(q, 1), te)); in Fp_ffellcard() [all …]
|
H A D | gen1.c | 173 gel(z,2) = gerepileuptoint((pari_sp)z, u); in add_intmod_same() 185 gel(z,2) = gerepileuptoint((pari_sp)z, u); in sub_intmod_same() 197 gel(z,2) = gerepileuptoint((pari_sp)z, remii(mulii(x,y), X) ); in mul_intmod_same() 855 gel(z,1) = gerepileuptoint((pari_sp)Q, q); in addsub_frac_i() 968 gel(z,2) = gerepileuptoint(av, remii(p1, gel(z,1))); return z; in gadd() 1239 gel(z,1) = gerepileuptoint((pari_sp)z, subii(mulis(b,x), a)); in gsubsg() 1273 gel(z,2) = gerepileuptoint(av, modii(p1, gel(z,1))); return z; in gsub() 1681 return gerepileuptoint((pari_sp)(z+3), gel(z,1)); in mulcc() 1824 gel(z,2) = gerepileuptoint(av, remii(p1, gel(z,1))); return z; in gmul() 2434 gel(z,2) = gerepileuptoint(av, remii(p1, gel(z,1))); return z; in gdiv() [all …]
|
H A D | lll.c | 232 gmael(G,kappa,kappa) = gerepileuptoint(btop, ztmp); in Babai() 252 gmael(G,kappa,kappa) = gerepileuptoint(btop, ztmp); in Babai() 284 gmael(G,kappa,kappa) = gerepileuptoint(btop, ztmp); in Babai() 308 gmael(G,kappa,kappa) = gerepileuptoint(btop, ztmp); in Babai() 339 gmael(G,kappa,kappa) = gerepileuptoint(btop, ztmp); in Babai()
|
H A D | ZX.c | 523 nz = int_normalize(nz,0); return gerepileuptoint(av, subii(pz,nz)); in ZX_eval2BILspec() 556 z = gerepileuptoint(av, (sx==-1)? subii(s1,z): subii(z,s1)); in Z_mod2BIL_ZX() 601 return gerepileuptoint(av,s); in ZX_sqrspec_basecase_limb() 727 gel(z,i-dy) = avma == av? icopy(p1): gerepileuptoint(av, p1); in ZX_rem() 742 p1 = gerepileuptoint((pari_sp)rem, p1); in ZX_rem() 749 gel(rem,i) = avma == av? icopy(p1): gerepileuptoint(av, p1); in ZX_rem() 771 return gerepileuptoint(av,s); in ZX_eval1()
|
H A D | prime.c | 68 c = gerepileuptoint(av, c); in ispsp() 93 c = gerepileuptoint(av, c); in is2psp() 1119 if (BPSW_psp(p)) return gerepileuptoint(av, p); in randomprime() 1151 if (BPSW_psp(p)) return gerepileuptoint(av, p); in randomprime0() 1237 return gerepileuptoint(av, subiu(nn,1)); in primepi()
|
/dports/math/p5-Math-Pari/pari-2.3.5/src/functions/gp2c_internal/ |
H A D | _gerepileupto | 4 (pari_sp, int):int gerepileuptoint($1, $2)
|
/dports/math/pari/pari-2.13.3/src/functions/gp2c_internal/ |
H A D | _gerepileupto | 4 (pari_sp, int):int gerepileuptoint($1, $2)
|
/dports/math/p5-Math-Pari/pari-2.3.5/src/modules/ |
H A D | part.c | 92 if ((k & 31) == 0) i2 = gerepileuptoint(av, i2); in g() 177 return gerepileuptoint (ltop, roundr(mulrr(D,sum))); in numbpart()
|
/dports/math/cmh/cmh-1.1.0/src/ |
H A D | parsepari.c | 113 return gerepileuptoint (av, modii (parifreadint (), p)); in parifreadmod()
|
/dports/math/p5-Math-Pari/pari-2.3.5/src/kernel/none/ |
H A D | mp_indep.c | 474 if (z == ONLY_REM) return gerepileuptoint(av,r); in truedvmdii() 482 return gerepileuptoint(av, r); in truedvmdii() 485 if (!z) return gerepileuptoint(av, q); in truedvmdii() 505 q = gerepileuptoint(av, addis(q, (y < 0)? 1: -1)); in truedvmdis() 585 return gerepileuptoint(av, r); /* = remii(x, y) */ in remiimul()
|
/dports/math/p5-Math-Pari/pari-2.3.5/src/test/ |
H A D | kerntest.c | 27 GEN gerepileuptoint(pari_sp av, GEN q){ return q; } in gerepileuptoint() function
|
/dports/math/pari/pari-2.13.3/src/kernel/none/ |
H A D | gcd.c | 141 return gerepileuptoint(av, gcdii_basecase(x,y)); in gcdii()
|