Home
last modified time | relevance | path

Searched refs:__gmpfr_emin (Results 1 – 25 of 57) sorted by relevance

123

/netbsd/src/external/lgpl3/mpfr/dist/src/
Dsqr.c70 if (MPFR_UNLIKELY(ax < __gmpfr_emin)) in mpfr_sqr_1()
80 if (ax == __gmpfr_emin - 1 && ap[0] == ~mask && in mpfr_sqr_1()
89 (ax < __gmpfr_emin - 1 || in mpfr_sqr_1()
100 MPFR_ASSERTD(ax >= __gmpfr_emin); in mpfr_sqr_1()
113 MPFR_ASSERTD(ax >= __gmpfr_emin); in mpfr_sqr_1()
126 MPFR_ASSERTD(ax + 1 >= __gmpfr_emin); in mpfr_sqr_1()
164 if (MPFR_UNLIKELY(ax < __gmpfr_emin)) in mpfr_sqr_1n()
177 if (ax == __gmpfr_emin - 1 && ap[0] == MPFR_LIMB_MAX && in mpfr_sqr_1n()
185 (ax < __gmpfr_emin - 1 || in mpfr_sqr_1n()
196 MPFR_ASSERTD(ax >= __gmpfr_emin); in mpfr_sqr_1n()
[all …]
Dsqrt.c151 if (MPFR_UNLIKELY (exp_r < __gmpfr_emin)) in mpfr_sqrt1()
164 if (exp_r < __gmpfr_emin - 1 || in mpfr_sqrt1()
170 if (exp_r == __gmpfr_emin - 1 && in mpfr_sqrt1()
183 MPFR_ASSERTD(exp_r >= __gmpfr_emin); in mpfr_sqrt1()
199 MPFR_ASSERTD(exp_r >= __gmpfr_emin); in mpfr_sqrt1()
213 MPFR_ASSERTD(exp_r + 1 >= __gmpfr_emin); in mpfr_sqrt1()
287 if (MPFR_UNLIKELY (exp_r < __gmpfr_emin)) in mpfr_sqrt1n()
293 if (exp_r < __gmpfr_emin - 1 || in mpfr_sqrt1n()
299 if (exp_r == __gmpfr_emin - 1 && in mpfr_sqrt1n()
313 MPFR_ASSERTD(exp_r >= __gmpfr_emin); in mpfr_sqrt1n()
[all …]
Dmul.c147 if (MPFR_UNLIKELY( ax2 < __gmpfr_emin)) in mpfr_mul3()
155 (ax + (mpfr_exp_t) b1 < __gmpfr_emin || in mpfr_mul3()
306 if (MPFR_UNLIKELY(ax < __gmpfr_emin)) in mpfr_mul_1()
308 if (ax == __gmpfr_emin - 1 && ap[0] == MPFR_LIMB(~mask) && in mpfr_mul_1()
317 (ax < __gmpfr_emin - 1 || in mpfr_mul_1()
328 MPFR_ASSERTD(ax >= __gmpfr_emin); in mpfr_mul_1()
341 MPFR_ASSERTD(ax >= __gmpfr_emin); in mpfr_mul_1()
354 MPFR_ASSERTD(ax + 1 >= __gmpfr_emin); in mpfr_mul_1()
403 if (MPFR_UNLIKELY(ax < __gmpfr_emin)) in mpfr_mul_1n()
405 if (ax == __gmpfr_emin - 1 && ap[0] == ~MPFR_LIMB_ZERO && in mpfr_mul_1n()
[all …]
Dsubnormal.c54 __gmpfr_emin + (mpfr_exp_t) MPFR_PREC (y) - 1))) in mpfr_subnormalize()
61 if (MPFR_GET_EXP (y) == __gmpfr_emin) in mpfr_subnormalize()
104 mpfr_setmin (y, __gmpfr_emin); in mpfr_subnormalize()
111 mpfr_setmin (y, __gmpfr_emin + 1); in mpfr_subnormalize()
122 MPFR_ASSERTD (MPFR_GET_EXP (y) > __gmpfr_emin); in mpfr_subnormalize()
125 q = (mpfr_uexp_t) MPFR_GET_EXP (y) - __gmpfr_emin + 1; in mpfr_subnormalize()
Ddiv_2si.c42 if (MPFR_UNLIKELY( n > 0 && (__gmpfr_emin > MPFR_EMAX_MAX - n || in mpfr_div_2si()
43 exp < __gmpfr_emin + n)) ) in mpfr_div_2si()
46 (__gmpfr_emin > MPFR_EMAX_MAX - (n - 1) || in mpfr_div_2si()
47 exp < __gmpfr_emin + (n - 1) || in mpfr_div_2si()
Dmul_2si.c45 else if (MPFR_UNLIKELY(n < 0 && (__gmpfr_emin > MPFR_EMAX_MAX + n || in mpfr_mul_2si()
46 exp < __gmpfr_emin - n))) in mpfr_mul_2si()
49 (__gmpfr_emin > MPFR_EMAX_MAX + (n + 1) || in mpfr_mul_2si()
50 exp < __gmpfr_emin - (n + 1) || in mpfr_mul_2si()
Dexceptions.c26 MPFR_THREAD_VAR (mpfr_exp_t, __gmpfr_emin, MPFR_EMIN_DEFAULT) in MPFR_THREAD_VAR() argument
34 return __gmpfr_emin; in MPFR_THREAD_VAR()
44 __gmpfr_emin = exponent; in mpfr_set_emin()
266 if (MPFR_UNLIKELY (exp < __gmpfr_emin)) in mpfr_check_range()
276 (exp + 1 < __gmpfr_emin || in mpfr_check_range()
398 mpfr_setmin (x, __gmpfr_emin); in mpfr_underflow()
Dexp2.c88 if (MPFR_UNLIKELY (round_to_eexp_t (x, MPFR_RNDU) <= __gmpfr_emin - 2)) in mpfr_exp2()
106 MPFR_ASSERTD (__gmpfr_emin - 2 < xint && xint < __gmpfr_emax); in mpfr_exp2()
163 if (MPFR_UNLIKELY (rnd_mode == MPFR_RNDN && xint == __gmpfr_emin - 1 && in mpfr_exp2()
170 MPFR_SET_EXP (y, __gmpfr_emin); in mpfr_exp2()
Dsub1.c102 if (MPFR_UNLIKELY (exp_b < __gmpfr_emin - 1)) in mpfr_sub1()
212 if (MPFR_UNLIKELY (exp_a < __gmpfr_emin)) in mpfr_sub1()
215 (exp_a < __gmpfr_emin - 1 || in mpfr_sub1()
697 if (MPFR_UNLIKELY (exp_b < __gmpfr_emin - 1)) in mpfr_sub1()
709 if (MPFR_UNLIKELY (exp_a < __gmpfr_emin)) in mpfr_sub1()
713 (exp_a < __gmpfr_emin - 1 || in mpfr_sub1()
741 if (MPFR_UNLIKELY (exp_a < __gmpfr_emin)) in mpfr_sub1()
743 MPFR_ASSERTD (exp_a >= __gmpfr_emin); in mpfr_sub1()
Ddiv.c187 if (MPFR_UNLIKELY(qx < __gmpfr_emin)) in mpfr_div_1()
202 (qx < __gmpfr_emin - 1 || (qp[0] == MPFR_LIMB_HIGHBIT && sb == 0))) in mpfr_div_1()
211 MPFR_ASSERTD(qx >= __gmpfr_emin); in mpfr_div_1()
229 MPFR_ASSERTD(qx >= __gmpfr_emin); in mpfr_div_1()
335 if (MPFR_UNLIKELY(qx < __gmpfr_emin)) in mpfr_div_1n()
350 (qx < __gmpfr_emin - 1 || (qp[0] == MPFR_LIMB_HIGHBIT && sb == 0))) in mpfr_div_1n()
359 MPFR_ASSERTD(qx >= __gmpfr_emin); in mpfr_div_1n()
377 MPFR_ASSERTD(qx >= __gmpfr_emin); in mpfr_div_1n()
591 if (qx < __gmpfr_emin) in mpfr_div_2()
606 (qx < __gmpfr_emin - 1 || in mpfr_div_2()
[all …]
Dnext.c59 mpfr_setmin (x, __gmpfr_emin); in mpfr_nexttozero()
76 if (MPFR_UNLIKELY (exp == __gmpfr_emin)) in mpfr_nexttozero()
94 mpfr_setmin (x, __gmpfr_emin); in mpfr_nexttoinf()
Dexp.c137 mpfr_exp_t emin = __gmpfr_emin; in mpfr_exp()
144 __gmpfr_emin = 0; in mpfr_exp()
168 __gmpfr_emin = emin; in mpfr_exp()
Dsub1sp.c262 if (MPFR_UNLIKELY(bx < __gmpfr_emin)) in mpfr_sub1sp1()
270 (bx < __gmpfr_emin - 1 || ap[0] == MPFR_LIMB_HIGHBIT)) in mpfr_sub1sp1()
452 if (MPFR_UNLIKELY(bx < __gmpfr_emin)) in mpfr_sub1sp1n()
460 (bx < __gmpfr_emin - 1 || ap[0] == MPFR_LIMB_HIGHBIT)) in mpfr_sub1sp1n()
718 if (MPFR_UNLIKELY(bx < __gmpfr_emin)) in mpfr_sub1sp2()
723 (bx < __gmpfr_emin - 1 || in mpfr_sub1sp2()
999 if (MPFR_UNLIKELY(bx < __gmpfr_emin)) in mpfr_sub1sp2n()
1004 (bx < __gmpfr_emin - 1 || in mpfr_sub1sp2n()
1325 if (MPFR_UNLIKELY(bx < __gmpfr_emin)) in mpfr_sub1sp3()
1330 (bx < __gmpfr_emin - 1 || in mpfr_sub1sp3()
[all …]
Dset_uj.c113 if (MPFR_UNLIKELY(e < __gmpfr_emin)) in mpfr_set_uj_2exp()
122 (e + 1 < __gmpfr_emin || in mpfr_set_uj_2exp()
Dfma.c135 if (precx == precy && e <= __gmpfr_emax && e > __gmpfr_emin) in mpfr_fma()
258 if (MPFR_GET_EXP (z) - __gmpfr_emin >= in mpfr_fma()
262 mpfr_setmin (u, __gmpfr_emin); in mpfr_fma()
Drndna.c77 MPFR_ASSERTN(__gmpfr_emin > MPFR_EMIN_MIN); in mpfr_round_nearest_away_begin()
192 __gmpfr_emin - 2) == 0) in mpfr_round_nearest_away_end()
Dset_z_2exp.c90 if (MPFR_UNLIKELY (exp + 1 < __gmpfr_emin)) in mpfr_set_z_2exp()
189 if (MPFR_UNLIKELY (exp < __gmpfr_emin)) in mpfr_set_z_2exp()
Dset_exp.c29 exponent >= __gmpfr_emin && in mpfr_set_exp()
Dget_z_2exp.c62 return __gmpfr_emin; in mpfr_get_z_2exp()
Ddiv_2ui.c47 diffexp = (mpfr_uexp_t) exp - (mpfr_uexp_t) (__gmpfr_emin - 1); in mpfr_div_2ui()
Dpow.c333 MPFR_GET_EXP (z) == __gmpfr_emin - 1 - lk && mpfr_powerof2_raw (z)) in mpfr_pow_general()
533 if (__gmpfr_emax >= 1073741823 && __gmpfr_emin <= -1073741823 && in mpfr_pow()
594 __gmpfr_emin - (rnd_mode == MPFR_RNDN ? 2 : 1))) in mpfr_pow()
Dcot.c58 if ((two2emin = mpfr_get_exp (x) == __gmpfr_emin + 1 && \
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtset_sj.c232 if (ep[i] < __gmpfr_emin - e) /* underflow */ in test_2exp_extreme_aux()
236 (ep[i] < __gmpfr_emin - MPFR_GET_EXP (y) - 1 || in test_2exp_extreme_aux()
284 (mpfr_eexp_t) __gmpfr_emin, in test_2exp_extreme_aux()
Dtset_z_2exp.c51 return (mpfr_exp_t) (e % (__gmpfr_emax - __gmpfr_emin)) + __gmpfr_emin; in randexp()
Dtget_z.c281 if (gt_flags != ex_flags || e != __gmpfr_emin || in special()
288 (mpfr_eexp_t) __gmpfr_emin); in special()

123