Home
last modified time | relevance | path

Searched refs:mpz_add (Results 1 – 25 of 145) sorted by relevance

123456

/netbsd/external/lgpl3/mpfr/dist/src/
H A Dgrandom.c84 mpz_add (s, a, b); in mpfr_grandom()
113 mpz_add (xp, xp, x); in mpfr_grandom()
114 mpz_add (yp, yp, y); in mpfr_grandom()
119 mpz_add (s, a, b); in mpfr_grandom()
129 mpz_add (s, a, b); in mpfr_grandom()
172 mpz_add (xp, xp, x); in mpfr_grandom()
173 mpz_add (yp, yp, y); in mpfr_grandom()
177 mpz_add (s, a, b); in mpfr_grandom()
H A Dbernoulli.c109 mpz_add (s, s, t); in mpfr_bernoulli_internal()
121 mpz_add (s, s, t); in mpfr_bernoulli_internal()
124 mpz_add (s, s, u); in mpfr_bernoulli_internal()
127 mpz_add (s, s, u); in mpfr_bernoulli_internal()
H A Dconst_euler.c114 mpz_add (s->T, t, v); in mpfr_const_euler_bs_1()
129 mpz_add (s->V, u, v); in mpfr_const_euler_bs_1()
173 mpz_add (T, T, T2); in mpfr_const_euler_bs_2()
227 mpz_add (sum->T, sum->T, sum->Q); in mpfr_const_euler_internal()
H A Dzeta_ui.c169 mpz_add (s, s, q); in mpfr_zeta_ui()
201 mpz_add (d, d, t); in mpfr_zeta_ui()
209 mpz_add (s, s, t); in mpfr_zeta_ui()
H A Dexp_2.c323 mpz_add (s, s, t); /* no error here: exact */ in mpfr_exp2_aux()
413 mpz_add (t, t, R[i]); in mpfr_exp2_aux2()
423 mpz_add (s, s, t); /* no error here */ in mpfr_exp2_aux2()
H A Drandom_deviate.c154 mpz_add (x->f, x->f, t); in random_deviate_generate()
367 mpz_add (t, t, x->f); /* Add low fraction */ in mpfr_random_deviate_value()
H A Dsin_cos.c385 mpz_add (T[k-1], T[k-1], T[k]); in sin_bs_aux()
408 mpz_add (T[k-1], T[k-1], T[k]); in sin_bs_aux()
536 mpz_add (y, S, C); /* a */ in sincos_aux()
538 mpz_add (C2, C2, S2); /* b */ in sincos_aux()
H A Datan.c207 mpz_add (S[k-1], S[k-1], S[k]); in mpfr_atan_aux()
239 mpz_add (S[k-1], S[k-1], S[k]); in mpfr_atan_aux()
258 mpz_add (S[k-1], S[k-1], S[k]); in mpfr_atan_aux()
/netbsd/external/lgpl3/gmp/dist/
H A Dgen-fib.c61 mpz_add (f[i], f[i-1], f[i-2]); in generate()
69 mpz_add (l, f[i], f[i-1]); in generate()
70 mpz_add (l, l, f[i-1]); in generate()
/netbsd/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-limbs.c92 check_funcs ("add", alt_add, mpz_add, a, b); in check_add()
185 mpz_add (ref, a, b); in check_roinit()
193 mpz_add (r, a2, b2); in check_roinit()
205 mpz_add (r, mpz_roinit_n (a1, ap, an), mpz_roinit_n (b1, bp, bn)); in check_roinit()
H A Dt-div_2exp.c59 mpz_add (p, p, r); in check_one()
76 mpz_add (p, p, r); in check_one()
93 mpz_add (p, p, r); in check_one()
H A Dt-aorsmul.c41 mpz_add (want, w, want); in check_one_inplace()
80 mpz_add (want, w, want); in check_one_ui_inplace()
142 mpz_add (want, w, want); in check_one()
182 mpz_add (want, w, want); in check_one_ui()
H A Dt-gcd.c118 mpz_add (a, a, temp1); in make_chain_operands()
125 mpz_add (b, b, temp1); in make_chain_operands()
242 mpz_add (op1, op1, op2); in main()
392 mpz_add (temp1, temp1, temp2); in one_test()
/netbsd/external/lgpl3/gmp/dist/tests/rand/
H A Dstatlib.c471 mpz_add (rop, rop, t); in vz_dot()
587 mpz_add (tmp1, tmp1, tmp2); in spectral_test()
606 mpz_add (tmp1, tmp1, tmp2); in spectral_test()
663 mpz_add (U[ui_t][ui_j], U[ui_t][ui_j], tmp1); /* utj = utj + q*uij */ in spectral_test()
706 mpz_add (U[ui_j][ui_l], U[ui_j][ui_l], tmp1); /* Uj=Uj+q*Ui */ in spectral_test()
779 mpz_add (Y[ui_i], Y[ui_i], U[ui_k][ui_i]); in spectral_test()
/netbsd/external/gpl3/gcc/dist/gcc/fortran/
H A Ddata.c71 mpz_add (*offset, tmp, *offset); in get_array_index()
306 mpz_add (end, end, *repeat); in gfc_assign_data_value()
427 mpz_add (con->repeat, pred_con->offset, pred_con->repeat); in gfc_assign_data_value()
637 mpz_add (section_index[i], section_index[i], in gfc_advance_section()
687 mpz_add (*offset_ret, tmp, *offset_ret); in gfc_advance_section()
802 mpz_add (*offset, tmp, *offset); in gfc_get_section_index()
H A Ddata.cc71 mpz_add (*offset, tmp, *offset); in get_array_index()
326 mpz_add (end, end, *repeat); in gfc_assign_data_value()
447 mpz_add (con->repeat, pred_con->offset, pred_con->repeat); in gfc_assign_data_value()
663 mpz_add (section_index[i], section_index[i], in gfc_advance_section()
713 mpz_add (*offset_ret, tmp, *offset_ret); in gfc_advance_section()
828 mpz_add (*offset, tmp, *offset); in gfc_get_section_index()
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/
H A Ddata.c71 mpz_add (*offset, tmp, *offset); in get_array_index()
306 mpz_add (end, end, *repeat); in gfc_assign_data_value()
427 mpz_add (con->repeat, pred_con->offset, pred_con->repeat); in gfc_assign_data_value()
637 mpz_add (section_index[i], section_index[i], in gfc_advance_section()
687 mpz_add (*offset_ret, tmp, *offset_ret); in gfc_advance_section()
802 mpz_add (*offset, tmp, *offset); in gfc_get_section_index()
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Dbin_ui.c117 mpz_add (r, r, n); in mpz_hmul_nbnpk()
391 mpz_add (r, r, ni); in mpz_bin_ui()
410 mpz_add (ni, ni, r); /* (n+1)^2+n */ in mpz_bin_ui()
H A Dfdiv_r.c56 mpz_add (rem, rem, divisor); in mpz_fdiv_r()
H A Dmod.c64 mpz_add (rem, rem, divisor); in mpz_mod()
H A Dfdiv_qr.c60 mpz_add (rem, rem, divisor); in mpz_fdiv_qr()
H A Dinvert.c65 mpz_add (inverse, tmp, n); in mpz_invert()
/netbsd/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-hgcd.c138 mpz_add (op1, op1, temp1); in main()
149 mpz_add (op2, op2, temp1); in main()
309 mpz_add (r, r, b); in sdiv_qr()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-add.c42 mpz_add (res, a, b); in testmain()
/netbsd/external/lgpl3/gmp/dist/tests/mpq/
H A Dt-inv.c52 mpz_add (n, n, m); in main()

123456