Home
last modified time | relevance | path

Searched refs:mpz_set (Results 1 – 25 of 143) sorted by relevance

123456

/netbsd/external/lgpl3/gmp/dist/tests/mpz/
H A Dreuse.c297 mpz_set (res1, in1); in main()
303 mpz_set (res1, in2); in main()
319 mpz_set (res1, in1); in main()
328 mpz_set (res2, in1); in main()
335 mpz_set (res1, in2); in main()
344 mpz_set (res2, in2); in main()
360 mpz_set (res1, in1); in main()
377 mpz_set (res1, in1); in main()
678 mpz_set (res1, in1); in main()
712 mpz_set (res1, t); in main()
[all …]
H A Dt-lcm.c54 { mpz_set (got, x); mpz_lcm (got, got, y); } in check_all()
74 { mpz_set (got, x); mpz_lcm_ui (got, got, yu); } in check_all()
124 mpz_set (x, want); in check_primes()
131 mpz_set (x, want); in check_primes()
142 mpz_set (x, want); in check_primes()
H A Dt-aorsmul.c42 mpz_set (got, w); in check_one_inplace()
58 mpz_set (got, w); in check_one_inplace()
81 mpz_set (got, w); in check_one_ui_inplace()
97 mpz_set (got, w); in check_one_ui_inplace()
143 mpz_set (got, w); in check_one()
160 mpz_set (got, w); in check_one()
183 mpz_set (got, w); in check_one_ui()
200 mpz_set (got, w); in check_one_ui()
H A Dt-bit.c145 mpz_set (got, inp); in check_com_negs()
308 mpz_set (s0, x); in check_random()
313 mpz_set (s1, x); in check_random()
318 mpz_set (s2, x); in check_random()
323 mpz_set (s3, x); in check_random()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-reuse.c210 mpz_set (res1, in1); in testmain()
216 mpz_set (res1, in2); in testmain()
234 mpz_set (res1, in1); in testmain()
241 mpz_set (res2, in1); in testmain()
248 mpz_set (res1, in2); in testmain()
255 mpz_set (res2, in2); in testmain()
274 mpz_set (res1, in1); in testmain()
302 mpz_set (res1, in1); in testmain()
539 mpz_set (res1, in1); in testmain()
572 mpz_set (res1, t); in testmain()
[all …]
H A Dt-bitops.c43 mpz_set (res, a); in testmain()
62 mpz_set (res, a); in testmain()
81 mpz_set (res, a); in testmain()
/netbsd/external/lgpl3/gmp/dist/tests/rand/
H A Dstatlib.c533 mpz_set (h, a); in spectral_test()
534 mpz_set (hp, m); in spectral_test()
537 mpz_set (r, a); in spectral_test()
610 mpz_set (hp, u); in spectral_test()
611 mpz_set (pp, v); in spectral_test()
618 mpz_set (U[0][1], p); in spectral_test()
620 mpz_set (U[1][1], pp); in spectral_test()
622 mpz_set (V[0][0], pp); in spectral_test()
670 mpz_set (s, tmp1); in spectral_test()
711 mpz_set (s, tmp1); in spectral_test()
[all …]
/netbsd/external/lgpl3/gmp/dist/mini-gmp/
H A Dmini-mpq.c162 mpz_set (mpq_numref (r), mpq_numref (q)); in mpq_set()
163 mpz_set (mpq_denref (r), mpq_denref (q)); in mpq_set()
184 mpz_set (mpq_numref (r), n); in mpq_set_z()
190 mpz_set (mpq_numref (r), z); in mpq_set_num()
196 mpz_set (mpq_denref (r), z); in mpq_set_den()
202 mpz_set (r, mpq_numref (q)); in mpq_get_num()
208 mpz_set (r, mpq_denref (q)); in mpq_get_den()
310 mpz_set (mpq_denref (r), mpq_denref (q)); in mpq_abs()
317 mpz_set (mpq_denref (r), mpq_denref (q)); in mpq_neg()
/netbsd/external/lgpl3/gmp/dist/demos/
H A Dfactorize.c93 mpz_set (p[j + 1], p[j]); in factor_insert()
96 mpz_set (p[i + 1], prime); in factor_insert()
218 mpz_set (tmp, nm1); in mp_prime_p()
307 mpz_set (y, x); in factor_using_pollard_rho()
312 mpz_set (z, x); in factor_using_pollard_rho()
321 mpz_set (y, x); in factor_using_pollard_rho()
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Dbin_ui.c163 mpz_set (t, P); in rek_raising_fac4()
211 mpz_set (r, n); in mpz_raising_fac4()
226 mpz_set (r, p); in mpz_raising_fac4()
237 mpz_set (r, t); in mpz_raising_fac4()
277 mpz_set (t1, n); in rek_raising_fac()
317 mpz_set (r, p); in mpz_raising_fac()
H A Dremove.c53 mpz_set (dest, src); in mpz_remove()
134 mpz_set (dest, x); in mpz_remove()
139 mpz_set (dest, src); in mpz_remove()
H A Dpow_ui.c44 mpz_set (r, b); in mpz_pow_ui()
H A Dset.c35 mpz_set (mpz_ptr w, mpz_srcptr u) in mpz_set() function
H A Dfdiv_r.c49 mpz_set (temp_divisor, divisor); in mpz_fdiv_r()
H A Dcdiv_r.c50 mpz_set (temp_divisor, divisor); in mpz_cdiv_r()
H A Dcdiv_qr.c50 mpz_set (temp_divisor, divisor); in mpz_cdiv_qr()
/netbsd/external/gpl3/gcc/dist/gcc/fortran/
H A Ddata.c67 mpz_set (tmp, e->value.integer); in get_array_index()
290 mpz_set (offset, index); in gfc_assign_data_value()
376 mpz_set (con->offset, end); in gfc_assign_data_value()
388 mpz_set (con->repeat, *repeat); in gfc_assign_data_value()
670 mpz_set (section_index[i], start->value.integer); in gfc_advance_section()
674 mpz_set (section_index[i], ar->as->lower[i]->value.integer); in gfc_advance_section()
803 mpz_set (section_index[i], start->value.integer); in gfc_get_section_index()
807 mpz_set (section_index[i], ar->as->lower[i]->value.integer); in gfc_get_section_index()
H A Ddata.cc67 mpz_set (tmp, e->value.integer); in get_array_index()
310 mpz_set (offset, index); in gfc_assign_data_value()
396 mpz_set (con->offset, end); in gfc_assign_data_value()
408 mpz_set (con->repeat, *repeat); in gfc_assign_data_value()
696 mpz_set (section_index[i], start->value.integer); in gfc_advance_section()
700 mpz_set (section_index[i], ar->as->lower[i]->value.integer); in gfc_advance_section()
829 mpz_set (section_index[i], start->value.integer); in gfc_get_section_index()
833 mpz_set (section_index[i], ar->as->lower[i]->value.integer); in gfc_get_section_index()
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/
H A Ddata.c67 mpz_set (tmp, e->value.integer); in get_array_index()
290 mpz_set (offset, index); in gfc_assign_data_value()
376 mpz_set (con->offset, end); in gfc_assign_data_value()
388 mpz_set (con->repeat, *repeat); in gfc_assign_data_value()
670 mpz_set (section_index[i], start->value.integer); in gfc_advance_section()
674 mpz_set (section_index[i], ar->as->lower[i]->value.integer); in gfc_advance_section()
803 mpz_set (section_index[i], start->value.integer); in gfc_get_section_index()
807 mpz_set (section_index[i], ar->as->lower[i]->value.integer); in gfc_get_section_index()
/netbsd/external/lgpl3/gmp/dist/tests/
H A Drefmpz.c94 mpz_set (g, b); in refmpz_gcd()
99 mpz_set (g, a); in refmpz_gcd()
255 mpz_set (e, p); in refmpz_legendre()
339 mpz_set (w, t); in refmpz_pow_ui()
/netbsd/external/lgpl3/gmp/dist/
H A Dgen-trialdivtab.c151 mpz_set (ppp, acc); in main()
207 mpz_set (ppp, acc); in main()
267 mpz_set (cps[0], bi); in mpn_mod_1s_4p_cps()
H A Dgen-psqr.c308 mpz_set (m, q); in generate_mod()
351 mpz_set (pp, new_pp); in generate_mod()
369 mpz_set (pp, new_pp); in generate_mod()
376 mpz_set (pp_norm, pp); in generate_mod()
/netbsd/external/lgpl3/gmp/dist/demos/expr/
H A Dexprq.c72 mpz_set (mpq_numref(w), mpq_numref(x)); in e_mpq_num()
81 mpz_set (mpq_numref(w), mpq_denref(x)); in e_mpq_den()
H A Dexprz.c89 mpz_set (w, x); in e_mpz_setbit()
96 mpz_set (w, x); in e_mpz_clrbit()
/netbsd/external/lgpl3/mpfr/dist/src/
H A Dconst_euler.c87 mpz_set (s->T, s->P); in mpfr_const_euler_bs_1()
88 mpz_set (s->V, s->P); in mpfr_const_euler_bs_1()
159 mpz_set (T, P); in mpfr_const_euler_bs_2()

123456