Searched refs:__gmpfr_emin (Results 1 - 25 of 33) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dset_exp.c28 if (exponent >= __gmpfr_emin && exponent <= __gmpfr_emax)
H A Ddiv_2si.c39 if (MPFR_UNLIKELY( n > 0 && (__gmpfr_emin > MPFR_EMAX_MAX - n ||
40 exp < __gmpfr_emin + n)) )
43 (__gmpfr_emin > MPFR_EMAX_MAX - (n - 1) ||
44 exp < __gmpfr_emin + (n - 1) ||
H A Dmul_2si.c42 else if (MPFR_UNLIKELY(n < 0 && (__gmpfr_emin > MPFR_EMAX_MAX + n ||
43 exp < __gmpfr_emin - n)))
46 (__gmpfr_emin > MPFR_EMAX_MAX + (n + 1) ||
47 exp < __gmpfr_emin - (n + 1) ||
H A Dsubnormal.c54 __gmpfr_emin + (mpfr_exp_t) MPFR_PREC (y) - 1)))
61 if (MPFR_GET_EXP (y) == __gmpfr_emin)
104 mpfr_setmin (y, __gmpfr_emin);
110 /* Note: mpfr_setmin will abort if __gmpfr_emax == __gmpfr_emin. */
111 mpfr_setmin (y, __gmpfr_emin + 1);
121 MPFR_ASSERTD (MPFR_GET_EXP (y) > __gmpfr_emin);
124 q = (mpfr_uexp_t) MPFR_GET_EXP (y) - __gmpfr_emin + 1;
H A Dexceptions.c27 mpfr_exp_t MPFR_THREAD_ATTR __gmpfr_emin = MPFR_EMIN_DEFAULT; variable
35 return __gmpfr_emin;
45 __gmpfr_emin = exponent;
199 if (MPFR_UNLIKELY( exp < __gmpfr_emin) )
209 (exp + 1 < __gmpfr_emin ||
307 mpfr_setmin (x, __gmpfr_emin);
H A Dnext.c37 mpfr_setmin (x, __gmpfr_emin);
52 if (MPFR_UNLIKELY(exp == __gmpfr_emin))
72 mpfr_setmin (x, __gmpfr_emin);
H A Dcheck.c70 if ((MPFR_EXP (x) < __gmpfr_emin) || (MPFR_EXP (x) > __gmpfr_emax))
H A Ddiv_2ui.c41 diffexp = (mpfr_uexp_t) exp - (mpfr_uexp_t) (__gmpfr_emin - 1);
H A Dexp.c110 mpfr_exp_t emin = __gmpfr_emin;
118 __gmpfr_emin = 0;
125 __gmpfr_emin = 1;
143 __gmpfr_emin = emin;
H A Dget_z_exp.c29 * isn't really important. We choose to return __gmpfr_emin because
30 * 1) it is in the exponent range [__gmpfr_emin,__gmpfr_emax],
38 * The exponent doesn't really matter, so let's keep __gmpfr_emin
53 return __gmpfr_emin;
H A Dset_uj.c117 if (MPFR_UNLIKELY(e < __gmpfr_emin))
125 if (rnd == MPFR_RNDN && (e+1 < __gmpfr_emin || mpfr_powerof2_raw(y)))
H A Dsqr.c92 if (MPFR_UNLIKELY( ax2 < __gmpfr_emin))
96 is < __gmpfr_emin - 1 or the exact result is a power of 2 (i.e. if
99 (ax + (mpfr_exp_t) b1 < __gmpfr_emin || mpfr_powerof2_raw (b)))
H A Dexp2.c60 /* since the smallest representable non-zero float is 1/2*2^__gmpfr_emin,
61 if x < __gmpfr_emin - 1, the result is either 1/2*2^__gmpfr_emin or 0 */
63 if (MPFR_UNLIKELY (mpfr_cmp_si (x, __gmpfr_emin - 1) < 0))
66 /* in round to nearest mode, round to zero when x <= __gmpfr_emin-2 */
68 mpfr_cmp_si_2exp (x, __gmpfr_emin - 2, 0) <= 0)
H A Dcot.c58 if ((two2emin = mpfr_get_exp (x) == __gmpfr_emin + 1 && \
H A Dset_z_exp.c71 if (MPFR_UNLIKELY (exp + 1 < __gmpfr_emin))
170 if (MPFR_UNLIKELY (exp < __gmpfr_emin))
H A Dfma.c207 diffexp = MPFR_GET_EXP (z) - __gmpfr_emin;
251 mpfr_setmin (u, __gmpfr_emin);
H A Dfms.c209 diffexp = MPFR_GET_EXP (z) - __gmpfr_emin;
253 mpfr_setmin (u, __gmpfr_emin);
H A Dagm.c175 MPFR_ASSERTN (e1 > __gmpfr_emin);
190 scaleop = (__gmpfr_emin + 2 - e1 - e2) / 2;
H A Dmul.c142 if (MPFR_UNLIKELY( ax2 < __gmpfr_emin))
146 is < __gmpfr_emin - 1 or the exact result is a power of 2 (i.e. if
149 (ax + (mpfr_exp_t) b1 < __gmpfr_emin ||
276 if (MPFR_UNLIKELY (ax < __gmpfr_emin - 2))
498 if (MPFR_UNLIKELY (ax2 < __gmpfr_emin))
502 is < __gmpfr_emin - 1 or the exact result is a power of 2 (i.e. if
505 && (ax + (mpfr_exp_t) b1 < __gmpfr_emin
H A Ddiv_ui.c185 if (exp < __gmpfr_emin - 1)
H A Dpow_si.c85 * - First, (__gmpfr_emin - 1) / n and (__gmpfr_emax - 1) / n
92 * + If expx > (__gmpfr_emin - 1) / n, then
93 * expx >= (__gmpfr_emin - 1) / n + 1
94 * > (__gmpfr_emin - 1) // n,
96 * n * expx < __gmpfr_emin - 1,
98 * n * expx <= __gmpfr_emin - 2.
101 * + If expx <= (__gmpfr_emin - 1) / n, then n * expx cannot
102 * overflow since 0 < expx <= (__gmpfr_emin - 1) / n and
103 * 0 > n * expx >= n * ((__gmpfr_emin - 1) / n)
104 * >= __gmpfr_emin
[all...]
H A Dsub1.c604 if (MPFR_UNLIKELY(exp_a < __gmpfr_emin))
608 (exp_a < __gmpfr_emin - 1 ||
H A Dsub1sp.c268 if (MPFR_UNLIKELY(bx < __gmpfr_emin))
274 (bx < __gmpfr_emin - 1 ||
792 MPFR_ASSERTD( bx >= __gmpfr_emin);
794 if (MPFR_UNLIKELY(bx < __gmpfr_emin))
798 (bx < __gmpfr_emin - 1 ||
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/tests/
H A Dtset_z_exp.c32 return (mpfr_exp_t) (randlimb () % (__gmpfr_emax - __gmpfr_emin))
33 + __gmpfr_emin;
H A Dtget_z.c178 if (!mpfr_erangeflag_p () || e != __gmpfr_emin ||

Completed in 140 milliseconds

12