Searched refs:mpfr_exp_t (Results 1 - 25 of 189) sorted by relevance

12345678

/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dget_exp.c26 mpfr_exp_t
H A Dset_exp.c26 mpfr_set_exp (mpfr_ptr x, mpfr_exp_t exponent)
H A Droot.c45 mpfr_exp_t e, r, sh;
130 r = e % (mpfr_exp_t) k;
142 if ((mpfr_exp_t) size_m + r > k * (mpfr_exp_t) n)
145 sh = (k * (mpfr_exp_t) n - (mpfr_exp_t) size_m - r) / k;
168 inexact = inexact || ((mpfr_exp_t) mpz_scan1 (m, 0) < sh);
188 MPFR_SET_EXP (y, MPFR_GET_EXP (y) + e / (mpfr_exp_t) k);
H A Dexceptions.c27 mpfr_exp_t MPFR_THREAD_ATTR __gmpfr_emin = MPFR_EMIN_DEFAULT;
28 mpfr_exp_t MPFR_THREAD_ATTR __gmpfr_emax = MPFR_EMAX_DEFAULT;
32 mpfr_exp_t
41 mpfr_set_emin (mpfr_exp_t exponent)
54 mpfr_exp_t
60 mpfr_exp_t
68 mpfr_exp_t
77 mpfr_set_emax (mpfr_exp_t exponent)
90 mpfr_exp_t
95 mpfr_exp_t
[all...]
H A Dsetmin.c28 mpfr_setmin (mpfr_ptr x, mpfr_exp_t e)
H A Dexp_2.c29 mpfr_exp2_aux (mpz_t, mpfr_srcptr, mpfr_prec_t, mpfr_exp_t *);
31 mpfr_exp2_aux2 (mpz_t, mpfr_srcptr, mpfr_prec_t, mpfr_exp_t *);
32 static mpfr_exp_t
33 mpz_normalize (mpz_t, mpz_t, mpfr_exp_t);
34 static mpfr_exp_t
35 mpz_normalize2 (mpz_t, mpz_t, mpfr_exp_t, mpfr_exp_t);
40 static mpfr_exp_t
41 mpz_normalize (mpz_t rop, mpz_t z, mpfr_exp_t q)
50 return (mpfr_exp_t)
[all...]
H A Dget_z.c31 mpfr_exp_t exp;
47 mpfr_init2 (r, (exp < (mpfr_exp_t) MPFR_PREC_MIN ?
H A Dcbrt.c48 mpfr_exp_t e, r, sh;
94 sh = (3 * (mpfr_exp_t) n - (mpfr_exp_t) size_m - r) / 3;
117 inexact = inexact || ((mpfr_exp_t) mpz_scan1 (m, 0) < sh);
H A Dsetmax.c28 mpfr_setmax (mpfr_ptr x, mpfr_exp_t e)
H A Dsqr.c29 mpfr_exp_t ax;
89 mpfr_exp_t ax2 = ax + (mpfr_exp_t) (b1 - 1 + cc);
99 (ax + (mpfr_exp_t) b1 < __gmpfr_emin || mpfr_powerof2_raw (b)))
H A Dstack_interface.c47 mpfr_exp_t
62 mpfr_custom_init_set (mpfr_ptr x, int kind, mpfr_exp_t exp,
67 mpfr_exp_t e;
H A Dmpn_exp.c41 mpfr_mpn_exp (mp_limb_t *a, mpfr_exp_t *exp_r, int b, mpfr_exp_t e, size_t n)
44 mpfr_exp_t f, h;
109 mpfr_exp_t, mpfr_uexp_t,
128 if (e & ((mpfr_exp_t) 1 << i))
H A Dsin.c41 mpfr_exp_t expx, err;
116 || MPFR_EXP(xr) < (mpfr_exp_t) 3 - (mpfr_exp_t) m
117 || MPFR_EXP(c) < (mpfr_exp_t) 3 - (mpfr_exp_t) m)
153 err = 2 * MPFR_GET_EXP (c) + (mpfr_exp_t) m - 3 - (reduce != 0);
158 if (err < (mpfr_exp_t) MPFR_PREC (y))
H A Dstrtofr.c39 mpfr_exp_t exp_base; /* number of digits before the point */
40 mpfr_exp_t exp_bin; /* exponent in case base=2 or 16, and the pxxx
386 mpfr_exp_t read_exp = strtol (str + 1, endptr, 10);
387 mpfr_exp_t sum = 0;
392 mpfr_exp_t, mpfr_uexp_t,
405 pstr->exp_bin = (mpfr_exp_t) strtol (str + 1, endptr, 10);
442 mpfr_exp_t exp;
443 mpfr_exp_t ysize_bits;
503 MPFR_ASSERTD (pstr_size == (mpfr_exp_t) pstr_size);
551 mpfr_exp_t tm
656 mpfr_exp_t, mpfr_uexp_t, local
[all...]
H A Dround_p.c28 int mpfr_round_p_2 (mp_limb_t *, mp_size_t, mpfr_exp_t, mpfr_prec_t);
30 mpfr_round_p (mp_limb_t *bp, mp_size_t bn, mpfr_exp_t err0, mpfr_prec_t prec)
58 mpfr_round_p (mp_limb_t *bp, mp_size_t bn, mpfr_exp_t err0, mpfr_prec_t prec)
H A Dfits_u.h28 mpfr_exp_t e;
H A Disinteger.c29 mpfr_exp_t expo;
H A Dcmp_si.c34 mpfr_cmp_si_2exp (mpfr_srcptr b, long int i, mpfr_exp_t f)
53 mpfr_exp_t e;
H A Dcmp_ui.c34 mpfr_cmp_ui_2exp (mpfr_srcptr b, unsigned long int i, mpfr_exp_t f)
56 mpfr_exp_t e;
H A Dcoth.c46 if (MPFR_IS_ZERO(z) || MPFR_GET_EXP(z) <= - (mpfr_exp_t) precy) \
66 if (MPFR_EXP(x) + 1 <= -2 * (mpfr_exp_t) MAX(MPFR_PREC(x), MPFR_PREC(y))) \
H A Dexpm1.c34 mpfr_exp_t ex;
81 mpfr_exp_t err;
108 mpfr_exp_t err, exp_te; /* error */
H A Dcmp_abs.c31 mpfr_exp_t be, ce;
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/tests/
H A Dmpfr-test.h82 void mpfr_random2 _MPFR_PROTO ((mpfr_ptr, mp_size_t, mpfr_exp_t, gmp_randstate_t));
91 void set_emin _MPFR_PROTO ((mpfr_exp_t));
92 void set_emax _MPFR_PROTO ((mpfr_exp_t));
93 void tests_default_random _MPFR_PROTO ((mpfr_ptr, int, mpfr_exp_t, mpfr_exp_t));
96 char *, int, mpfr_exp_t, mpfr_exp_t,
159 mpfr_exp_t ex;
H A Dtset_z_exp.c29 static mpfr_exp_t
32 return (mpfr_exp_t) (randlimb () % (__gmpfr_emax - __gmpfr_emin))
42 mpfr_exp_t e;
72 mpfr_exp_t e;
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/tests/
H A Drandom.c113 test_default_random (mpc_ptr z, mpfr_exp_t emin, mpfr_exp_t emax,
153 mpfr_set_exp (MPC_RE (z), (mpfr_exp_t) gmp_urandomm_ui (rands, range) + emin);
156 mpfr_set_exp (MPC_IM (z), (mpfr_exp_t) gmp_urandomm_ui (rands, range) + emin);

Completed in 209 milliseconds

12345678