Home
last modified time | relevance | path

Searched refs:mpz_scan1 (Results 1 – 25 of 70) sorted by relevance

123

/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-mpq_muldiv_2exp.c72 e2 = mpz_scan1 (a, 0); in testmain()
73 e2-= mpz_scan1 (b, 0); in testmain()
76 t1 = mpz_scan1 (mpq_numref (rq), 0); in testmain()
77 t2 = mpz_scan1 (mpq_denref (rq), 0); in testmain()
82 if (e2 + e != t1 - t2 || (t2 != 0 && t1 != 0) || mpz_scan1 (t, 0) != e in testmain()
94 t1 = mpz_scan1 (mpq_numref (rq), 0); in testmain()
95 t2 = mpz_scan1 (mpq_denref (rq), 0); in testmain()
99 if (e2 != t1 - t2 + e || (t2 != 0 && t1 != 0) || mpz_scan1 (t, 0) != e in testmain()
103 …fprintf (stderr, "%li %li %lu %lu\n", e2, t2, mpz_scan1 (t, 0), (unsigned long) mpz_sizeinbase (t,… in testmain()
H A Dt-scan.c65 res = mpz_scan1 (a, b); in testmain()
H A Dt-double.c35 mpz_sizeinbase (z, 2) - mpz_scan1 (z, 0); in mpz_mantissasizeinbits()
H A Dt-mpq_double.c33 mpz_sizeinbase (z, 2) - mpz_scan1 (z, 0); in mpz_mantissasizeinbits()
/netbsd/external/lgpl3/mpc/dist/src/
H A Dpow.c113 t = mpz_scan1 (my, 0); in fix_sign()
203 t = mpz_scan1 (my, 0); in mpc_pow_exact()
246 t = mpz_scan1 (d, 0); in mpc_pow_exact()
252 t = mpz_scan1 (c, 0); in mpc_pow_exact()
259 t = mpz_scan1 (c, 0); in mpc_pow_exact()
260 v = mpz_scan1 (d, 0); in mpc_pow_exact()
313 t = mpz_scan1 (a, 0); in mpc_pow_exact()
355 w = mpz_scan1 (b, 0); in mpc_pow_exact()
361 w = mpz_scan1 (a, 0); in mpc_pow_exact()
394 sa = mpz_scan1 (a, 0); in mpc_pow_exact()
[all …]
H A Dlog10.c117 v = mpz_scan1 (x, 0); in mpc_log10()
/netbsd/external/lgpl3/gmp/dist/tests/
H A Drefmpz.c102 a_twos = mpz_scan1 (a, 0); in refmpz_gcd()
105 b_twos = mpz_scan1 (b, 0); in refmpz_gcd()
119 twos = mpz_scan1 (a, 0); in refmpz_gcd()
167 twos = mpz_scan1 (b, 0L); in refmpz_kronecker()
179 twos = mpz_scan1 (a, 0L); in refmpz_kronecker()
211 twos = mpz_scan1 (a, 0L); in refmpz_kronecker()
/netbsd/external/lgpl3/mpfr/dist/src/
H A Dconst_log2.c83 v = mpz_scan1 (T[0], 0); in S()
86 w = mpz_scan1 (Q[0], 0); in S()
91 w = mpz_scan1 (P[0], 0); in S()
H A Dcbrt.c129 inexact = mpz_scan1 (m, 0) < r; in mpfr_cbrt()
H A Dpow.c59 i = mpz_scan1 (c, 0); in mpfr_pow_is_exact()
71 i = mpz_scan1 (a, 0); in mpfr_pow_is_exact()
H A Drem1.c107 mpfr_exp_t k = mpz_scan1 (my, 0); in mpfr_rem1()
H A Dcos.c70 l = mpz_scan1 (x, 0); in mpfr_cos2_aux()
H A Droot.c165 inexact = inexact || (mpz_scan1 (m, 0) < sh); in mpfr_rootn_ui()
H A Dexp3.c60 n = mpz_scan1 (p, 0); /* number of trailing zeros in p */ in mpfr_exp_rational()
/netbsd/external/lgpl3/gmp/dist/mpz/
H A Dscan1.c41 mpz_scan1 (mpz_srcptr u, mp_bitcnt_t starting_bit) __GMP_NOTHROW in mpz_scan1() function
H A Dremove.c71 pwr = mpz_scan1 (src, 0); in mpz_remove()
H A Dmillerrabin.c82 k = mpz_scan1 (nm, 0L); in mpz_millerrabin()
/netbsd/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-scan.c98 got = mpz_scan1 (z, start); in check_ref()
/netbsd/external/lgpl3/gmp/dist/demos/
H A Dfactorize.c134 p = mpz_scan1 (t, 0); in factor_using_division()
203 k = mpz_scan1 (nm1, 0); in mp_prime_p()
/netbsd/external/lgpl3/gmp/dist/demos/expr/
H A Dexprz.c79 mpz_set_ui (w, mpz_scan1 (x, start)); in e_mpz_scan1()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/
H A Dmini-mpq.c399 mp_bitcnt_t z = mpz_scan1 (mpq_numref (q), 0); in mpq_div_2exp()
408 mp_bitcnt_t z = mpz_scan1 (mpq_denref (q), 0); in mpq_mul_2exp()
H A Dmini-gmp.h243 mp_bitcnt_t mpz_scan1 (const mpz_t, mp_bitcnt_t);
/netbsd/external/lgpl3/gmp/dist/
H A Dgen-fac.c39 mp_bitcnt_t r = mpz_scan1(x, 0); in mpz_remove_twos()
/netbsd/external/lgpl3/mpfr/dist/tests/
H A Dtfactorial.c86 prec_f = mpz_sizeinbase (f, 2) - mpz_scan1 (f, 0); in test_int()
H A Dtget_z.c125 d = mpz_scan1 (ex, 0) >= -sh; in check_one()

123