Searched refs:mpfr_get_si (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/external/lgpl3/mpfr/dist/tests/
H A Dtset_si.c1 /* Test file for mpfr_set_si, mpfr_set_ui, mpfr_get_si and mpfr_get_ui.
296 s = mpfr_get_si (x, r != MPFR_RNDF ? (mpfr_rnd_t) r : MPFR_RNDA);
331 /* Test mpfr_get_si and mpfr_get_ui, on values around some particular
440 ts, mpfr_get_si, "s", "d");
461 /* FIXME: Comparing against mpfr_get_si/ui is not ideal, it'd be better to
487 d = mpfr_get_si (x, MPFR_RNDZ);
551 if (mpfr_get_si (x, MPFR_RNDZ) != 49152 || inex <= 0)
554 mpfr_get_si (x, MPFR_RNDZ), inex);
558 if (mpfr_get_si (x, MPFR_RNDZ) != 49152)
561 mpfr_get_si (
[all...]
H A Dtset_z.c51 mpfr_get_si is a rather indirect test of a low level routine. */
63 if (mpfr_get_si (f, MPFR_RNDZ) != i)
H A Dterandom_chisq.c125 i = mpfr_get_si (x, rndd);
181 return expt * (1 << (prec - 1)) + mpfr_get_si (x, MPFR_RNDN);
H A Dtnrandom_chisq.c121 i = mpfr_get_si (x, rndd);
177 return expt * (1 << (prec - 1)) + mpfr_get_si (x, MPFR_RNDN);
H A Dtset_z_2exp.c97 mpfr_get_si is a rather indirect test of a low level routine. */
126 (mpfr_div_2si (f2, f1, e, rnd), mpfr_get_si (f2, MPFR_RNDZ) != i))
H A Dtpow_all.c131 (mpfr_get_si (x, MPFR_RNDN) & 1);
203 long yy = mpfr_get_si (y, MPFR_RNDN);
H A Dtpow.c960 si = mpfr_get_si (t[j], MPFR_RNDN);
1018 si = mpfr_get_si (t[i], MPFR_RNDN);
H A Dtdiv.c89 inex2 = mpfr_si_div (a2, mpfr_get_si (b, MPFR_RNDN), c, r);
111 inex2 = mpfr_div_si (a2, b, mpfr_get_si (c, MPFR_RNDN), r);
/netbsd-current/external/lgpl3/mpc/dist/tests/
H A Dteta.c104 im = mpfr_get_si (mpc_imagref (z), MPFR_RNDN);
126 re = mpfr_get_si (mpc_realref (z), MPFR_RNDN);
127 im = mpfr_get_si (mpc_imagref (z), MPFR_RNDN);
H A Dtgeneric.c1160 lo = mpfr_get_si (mpc_realref(z2), GMP_RNDN);
1188 i = (int)mpfr_get_si (mpc_realref(z2), GMP_RNDN);
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dget_si.c0 /* mpfr_get_si -- convert a floating-point number to a signed long.
26 mpfr_get_si (mpfr_srcptr f, mpfr_rnd_t rnd) function
H A Dmpf2mpfr.h127 #define mpf_get_si(x) mpfr_get_si(x,MPFR_DEFAULT_RND)
H A Dexp_2.c122 /* Read the long directly (faster than using mpfr_get_si
138 n = mpfr_get_si (r, MPFR_RNDN);
H A Dpow.c309 lk = mpfr_get_si (k, MPFR_RNDN);
312 * an overflow should not be possible in mpfr_get_si (and lk is exact).
H A Dmpfr.h534 __MPFR_DECLSPEC long mpfr_get_si (mpfr_srcptr, mpfr_rnd_t);
H A Dmpfr-impl.h1005 # define mpfr_get_exp_t(x,r) mpfr_get_si((x),(r))
/netbsd-current/external/lgpl3/mpfr/dist/tune/
H A Dtuneup.c1144 mpfr_ai_threshold1 = mpfr_get_si (tmp2, MPFR_RNDN);
1148 mpfr_ai_threshold2 = mpfr_get_si (tmp2, MPFR_RNDN);
1154 mpfr_ai_threshold3 = mpfr_get_si (tmp1, MPFR_RNDN);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/fortran/
H A Darith.c176 int_info->range = (int) mpfr_get_si (a, GFC_RND_MODE);
233 real_info->range = (int) mpfr_get_si (a, GFC_RND_MODE);
240 real_info->precision = (int) mpfr_get_si (a, GFC_RND_MODE);
/netbsd-current/external/gpl3/gcc/dist/gcc/fortran/
H A Darith.cc175 int_info->range = (int) mpfr_get_si (a, GFC_RND_MODE);
232 real_info->range = (int) mpfr_get_si (a, GFC_RND_MODE);
239 real_info->precision = (int) mpfr_get_si (a, GFC_RND_MODE);

Completed in 240 milliseconds