Home
last modified time | relevance | path

Searched refs:MPC_RND_RE (Results 1 – 25 of 59) sorted by relevance

123

/netbsd/src/external/lgpl3/mpc/dist/src/
Dacos.c49 inex_re = set_pi_over_2 (mpc_realref (rop), +1, MPC_RND_RE (rnd)); in mpc_acos()
70 set_pi_over_2 (mpc_realref (rop), +1, MPC_RND_RE (rnd)); in mpc_acos()
95 mpfr_can_round (x, p - 1, MPFR_RNDD, MPC_RND_RE (rnd), in mpc_acos()
96 prec+(MPC_RND_RE (rnd) == MPFR_RNDN)); in mpc_acos()
100 mpfr_div_2ui (mpc_realref (rop), x, 2, MPC_RND_RE (rnd)); in mpc_acos()
109 inex_re = mpfr_const_pi (mpc_realref (rop), MPC_RND_RE (rnd)); in mpc_acos()
113 inex_re = set_pi_over_2 (mpc_realref (rop), +1, MPC_RND_RE (rnd)); in mpc_acos()
149 inex_re = mpfr_const_pi (mpc_realref (rop), MPC_RND_RE (rnd)); in mpc_acos()
153 inex_re = mpfr_acos (mpc_realref (rop), mpc_realref (op), MPC_RND_RE (rnd)); in mpc_acos()
166 inex_re = set_pi_over_2 (mpc_realref (rop), +1, MPC_RND_RE (rnd)); in mpc_acos()
[all …]
Dlog.c74 inex_re = mpfr_log (mpc_realref (rop), mpc_realref (op), MPC_RND_RE (rnd)); in mpc_log()
89 inex_re = mpfr_log (mpc_realref (rop), w, MPC_RND_RE (rnd)); in mpc_log()
100 inex_re = mpfr_log (mpc_realref (rop), mpc_imagref (op), MPC_RND_RE (rnd)); in mpc_log()
108 inex_re = mpfr_log (mpc_realref (rop), w, MPC_RND_RE (rnd)); in mpc_log()
145 mpfr_get_prec (mpc_realref (rop)) + (MPC_RND_RE (rnd) == MPFR_RNDN)); in mpc_log()
200 mpfr_get_prec (mpc_realref (rop)) + (MPC_RND_RE (rnd) == MPFR_RNDN))); in mpc_log()
212 mpfr_get_emin_min () - 2, MPC_RND_RE (rnd)); in mpc_log()
214 inex_re = mpfr_set (mpc_realref (rop), w, MPC_RND_RE (rnd)); in mpc_log()
Dsqrt.c121 inex_w = mpfr_sqrt (mpc_realref (a), mpc_realref (b), MPC_RND_RE (rnd)); in mpc_sqrt()
155 inex_w = mpfr_sqrt (mpc_realref (a), y, MPC_RND_RE (rnd)); in mpc_sqrt()
161 inex_w = mpfr_sqrt (mpc_realref (a), y, MPC_RND_RE (rnd)); in mpc_sqrt()
174 rnd_w = MPC_RND_RE (rnd); in mpc_sqrt()
189 rnd_t = MPC_RND_RE(rnd); in mpc_sqrt()
197 rnd_t = INV_RND(MPC_RND_RE (rnd)); in mpc_sqrt()
273 inex_re = mpfr_set (mpc_realref (a), w, MPC_RND_RE(rnd)); in mpc_sqrt()
277 inex_re = mpfr_set (mpc_realref(a), t, MPC_RND_RE(rnd)); in mpc_sqrt()
281 inex_re = mpfr_neg (mpc_realref (a), t, MPC_RND_RE(rnd)); in mpc_sqrt()
374 inex_re = mpfr_check_range (mpc_realref (a), inex_re, MPC_RND_RE (rnd)); in mpc_sqrt()
Dexp.c67 inex_re = mpfr_exp (mpc_realref(rop), mpc_realref(op), MPC_RND_RE(rnd)); in mpc_exp()
75 inex_re = mpfr_cos (mpc_realref (rop), mpc_imagref (op), MPC_RND_RE(rnd)); in mpc_exp()
171 MPC_PREC_RE(rop) + (MPC_RND_RE(rnd) == MPFR_RNDN)); in mpc_exp()
182 inex_re = mpfr_set (mpc_realref(rop), y, MPC_RND_RE(rnd)); in mpc_exp()
186 inex_re = mpc_fix_inf (mpc_realref(rop), MPC_RND_RE(rnd)); in mpc_exp()
191 inex_re = mpc_fix_zero (mpc_realref(rop), MPC_RND_RE(rnd)); in mpc_exp()
208 inex_re = mpfr_check_range (mpc_realref (rop), inex_re, MPC_RND_RE (rnd)); in mpc_exp()
Dsin_cos.c200 inex_s = mpfr_sin (s, mpc_realref (op), MPC_RND_RE (rnd_sin)); in mpc_sin_cos_real()
201 inex_c = mpfr_cos (c, mpc_realref (op), MPC_RND_RE (rnd_cos)); in mpc_sin_cos_real()
257 inex_cos_re = mpfr_cosh (mpc_realref (rop_cos), mpc_imagref (op_loc), MPC_RND_RE (rnd_cos)); in mpc_sin_cos_imag()
405 + (MPC_RND_RE (rnd_sin) == MPFR_RNDN)); in mpc_sin_cos()
423 + (MPC_RND_RE (rnd_cos) == MPFR_RNDN)); in mpc_sin_cos()
438 inex_re = mpfr_set (mpc_realref (rop_sin), sch, MPC_RND_RE (rnd_sin)); in mpc_sin_cos()
440 inex_re = mpc_fix_inf (mpc_realref (rop_sin), MPC_RND_RE (rnd_sin)); in mpc_sin_cos()
450 inex_re = mpfr_set (mpc_realref (rop_cos), c, MPC_RND_RE (rnd_cos)); in mpc_sin_cos()
452 inex_re = mpc_fix_inf (mpc_realref (rop_cos), MPC_RND_RE (rnd_cos)); in mpc_sin_cos()
475 MPC_RND_RE (rnd_sin)); in mpc_sin_cos()
[all …]
Dmul_i.c55 inex_re = mpfr_neg (tmp, mpc_imagref (b), MPC_RND_RE (rnd)); in mpc_mul_i()
60 inex_re = mpfr_set (tmp, mpc_imagref (b), MPC_RND_RE (rnd)); in mpc_mul_i()
69 inex_re = mpfr_neg (mpc_realref (a), mpc_imagref (b), MPC_RND_RE (rnd)); in mpc_mul_i()
74 inex_re = mpfr_set (mpc_realref (a), mpc_imagref (b), MPC_RND_RE (rnd)); in mpc_mul_i()
Drootofunity.c90 MPC_RND_RE (rnd)); in mpc_rootofunity()
113 rnd_re = MPC_RND_RE (rnd); in mpc_rootofunity()
135 rnd_re = MPC_RND_RE (rnd); in mpc_rootofunity()
181 MPC_PREC_RE(rop) + (MPC_RND_RE(rnd) == MPFR_RNDN)) in mpc_rootofunity()
186 inex_re = mpfr_set (mpc_realref(rop), c, MPC_RND_RE(rnd)); in mpc_rootofunity()
Dtan.c148 mpfr_set_ui (mpc_realref (rop), 0, MPC_RND_RE (rnd)); in mpc_tan()
177 mpfr_set_ui (mpc_realref (rop), 0, MPC_RND_RE (rnd)); in mpc_tan()
197 mpfr_set (mpc_realref (rop), mpc_realref (op), MPC_RND_RE (rnd)); in mpc_tan()
207 inex_re = mpfr_tan (mpc_realref (rop), mpc_realref (op), MPC_RND_RE (rnd)); in mpc_tan()
289 inex_re = mpc_fix_zero (mpc_realref (rop), MPC_RND_RE(rnd)); in mpc_tan()
334 MPC_PREC_RE(rop) + (MPC_RND_RE(rnd) == MPFR_RNDN)); in mpc_tan()
389 MPC_RND_RE (rnd)); in mpc_tan()
Dasin.c50 (MPC_RND_RE(rnd) == MPFR_RNDN))) in mpc_asin_special()
174 (MPC_RND_RE(rnd) == MPFR_RNDN))) in mpc_asin_series()
255 + (MPC_RND_RE (rnd) == MPFR_RNDN)); in asin_taylor1()
275 inex_re = mpfr_set (mpc_realref (rop), s, MPC_RND_RE (rnd)); in asin_taylor1()
327 (mpfr_signbit (mpc_realref (op)) ? -1 : 1), MPC_RND_RE (rnd)); in mpc_asin()
358 (mpfr_signbit (mpc_realref (op)) ? -1 : 1), MPC_RND_RE (rnd)); in mpc_asin()
375 (mpfr_signbit (mpc_realref (op)) ? -1 : 1), MPC_RND_RE (rnd)); in mpc_asin()
384 inex_re = mpfr_asin (mpc_realref (rop), mpc_realref (op), MPC_RND_RE (rnd)); in mpc_asin()
418 rnd_re = MPC_RND_RE(rnd); in mpc_asin()
520 MPC_RND_RE (rnd)); in mpc_asin()
Dsqr.c212 inex_re = mpfr_sqr (mpc_realref(rop), mpc_realref(op), MPC_RND_RE(rnd)); in mpc_sqr()
220 inex_re = -mpfr_sqr (mpc_realref(rop), mpc_imagref(op), INV_RND (MPC_RND_RE(rnd))); in mpc_sqr()
247 inex_re = mpfr_fsss (rop->re, x, op->im, MPC_RND_RE (rnd)); in mpc_sqr()
285 inex_re = mpfr_fsss (rop->re, x, op->im, MPC_RND_RE (rnd)); in mpc_sqr()
291 MPC_PREC_RE (rop) + (MPC_RND_RE (rnd) == MPFR_RNDN)); in mpc_sqr()
293 inex_re = mpfr_set (mpc_realref (rop), u, MPC_RND_RE (rnd)); in mpc_sqr()
Datan.c76 inex_re = set_pi_over_2 (mpc_realref (rop), -s_re, MPC_RND_RE (rnd)); in mpc_atan()
90 inex_re = set_pi_over_2 (mpc_realref (rop), -s_re, MPC_RND_RE (rnd)); in mpc_atan()
102 inex_re = mpfr_atan (mpc_realref (rop), mpc_realref (op), MPC_RND_RE (rnd)); in mpc_atan()
208 inex_re = set_pi_over_2 (mpc_realref (rop), -s_re, MPC_RND_RE (rnd)); in mpc_atan()
312 prec + (MPC_RND_RE (rnd) == MPFR_RNDN)); in mpc_atan()
401 MPC_RND_RE (rnd)); in mpc_atan()
Dpow.c406 ret = mpfr_set_z (mpc_realref(z), a, MPC_RND_RE(rnd)); in mpc_pow_exact()
409 mpfr_mul_2si (mpc_realref(z), mpc_realref(z), ed, MPC_RND_RE(rnd)); in mpc_pow_exact()
597 ret = mpfr_pow (mpc_realref(z), mpc_realref(x), mpc_realref(y), MPC_RND_RE(rnd)); in mpc_pow()
665 pr += MPC_RND_RE(rnd) == MPFR_RNDN; in mpc_pow()
704 inex_re = mpc_fix_inf (mpc_realref (z), MPC_RND_RE(rnd)); in mpc_pow()
780 mpfr_set (mpc_realref(z), mpc_realref(u), MPC_RND_RE(rnd)), in mpc_pow()
806 ret = mpfr_set (mpc_realref(z), mpc_realref(u), MPC_RND_RE(rnd)); in mpc_pow()
844 mpfr_set_ui (mpc_realref (z), 0, MPC_RND_RE (rnd)); in mpc_pow()
853 inex_re = mpfr_set_ui (mpc_realref(z), 0, MPC_RND_RE(rnd)); in mpc_pow()
874 MPC_RND_RE (rnd)); in mpc_pow()
Dmul.c128 mpfr_setsign (mpc_realref (z), mpc_realref (z), MPC_RND_RE(rnd) == MPFR_RNDD in mul_real()
156 INV_RND (MPC_RND_RE (rnd))); in mul_imag()
191 mpc_imagref (x), mpc_imagref (y), MPC_RND_RE (rnd)); in mpc_mul_naive()
266 rnd_re = MPC_RND_RE(rnd); in mpc_mul_karatsuba()
390 inex_re = mpfr_set (mpc_realref(result), u, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
405 inex_re = mpfr_add (mpc_realref(result), v, w, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
408 inex_re = mpfr_add (mpc_realref(result), v, w, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
412 inex_re = mpfr_neg (mpc_realref(result), u, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
Dout_str.c33 size += mpfr_out_str (stream, base, n, mpc_realref(op), MPC_RND_RE(rnd)); in mpc_out_str()
35 size += mpfr_out_str (stream, base, n, mpc_imagref(op), MPC_RND_RE(rnd)); in mpc_out_str()
Dget_x.c38 + mpfr_get_d (mpc_realref (op), MPC_RND_RE (rnd)); in mpc_get_dc()
44 + mpfr_get_ld (mpc_realref (op), MPC_RND_RE (rnd)); in mpc_get_ldc()
215 real_str = get_pretty_str (base, n, mpc_realref (op), MPC_RND_RE (rnd)); in mpc_get_str()
Dlog10.c89 MPC_PREC_RE(rop) + (MPC_RND_RE (rnd) == MPFR_RNDN)); in mpc_log10()
142 inex_re = mpfr_set (mpc_realref(rop), mpc_realref (log), MPC_RND_RE (rnd)); in mpc_log10()
155 inex_re = mpfr_check_range (mpc_realref (rop), inex_re, MPC_RND_RE (rnd)); in mpc_log10()
Dacosh.c49 MPC_RND (INV_RND (MPC_RND_IM (rnd)), MPC_RND_RE (rnd))); in mpc_acosh()
61 MPC_RND (MPC_RND_IM (rnd), INV_RND(MPC_RND_RE (rnd)))); in mpc_acosh()
Dfma.c44 inex_re = mpfr_sum (mpc_realref (r), sum, 3, MPC_RND_RE (rnd)); in mpc_fma_naive()
96 pre + (MPC_RND_RE (rnd) == MPFR_RNDN)); in mpc_fma()
Ddiv.c33 mpfr_mul (mpc_realref (a), infty, mpc_realref (z), MPC_RND_RE (rnd)); in mpc_div_zero()
170 inex_re = mpfr_div (mpc_realref(rop), mpc_realref(z), mpc_realref(w), MPC_RND_RE(rnd)); in mpc_div_real()
206 inex_re = mpfr_div (mpc_realref(dest), mpc_imagref(z), wloc, MPC_RND_RE(rnd)); in mpc_div_imag()
244 mpfr_rnd_t rnd_re = MPC_RND_RE (rnd), rnd_im = MPC_RND_IM (rnd); in mpc_div()
Dneg.c28 inex_re = mpfr_neg (mpc_realref(a), mpc_realref(b), MPC_RND_RE(rnd)); in mpc_neg()
Dconj.c28 inex_re = mpfr_set (mpc_realref(a), mpc_realref(b), MPC_RND_RE(rnd)); in mpc_conj()
Dset.c28 inex_re = mpfr_set (mpc_realref(a), mpc_realref(b), MPC_RND_RE(rnd)); in mpc_set()
/netbsd/src/external/lgpl3/mpc/dist/tests/
Dtgeneric.c47 MPC_RND_RE (rnd)) in tgeneric_cc()
63 mpfr_print_rnd_mode (MPC_RND_RE (rnd)), in tgeneric_cc()
89 MPC_RND_RE (rnd1)) in tgeneric_cc_c()
93 MPC_RND_RE (rnd2)) in tgeneric_cc_c()
107 mpfr_print_rnd_mode (MPC_RND_RE (rnd1)), in tgeneric_cc_c()
122 mpfr_print_rnd_mode (MPC_RND_RE (rnd2)), in tgeneric_cc_c()
171 MPC_RND_RE (rnd)) in tgeneric_cfc()
185 mpfr_print_rnd_mode (MPC_RND_RE (rnd)), in tgeneric_cfc()
207 MPC_RND_RE (rnd)) in tgeneric_ccf()
221 mpfr_print_rnd_mode (MPC_RND_RE (rnd)), in tgeneric_ccf()
[all …]
Dtsqr.c51 mpfr_print_rnd_mode(MPC_RND_RE(rnd)), in cmpsqr()
64 mpfr_print_rnd_mode(MPC_RND_RE(rnd)), in cmpsqr()
80 mpfr_print_rnd_mode(MPC_RND_RE(rnd)), in cmpsqr()
93 mpfr_print_rnd_mode(MPC_RND_RE(rnd)), in cmpsqr()
109 mpfr_print_rnd_mode(MPC_RND_RE(rnd)), in cmpsqr()
Drounding.c61 mpfr_rnd_t rnd_re = MPC_RND_RE (rnd); in next_mpc_rnd_mode()
78 mpfr_rnd_t rnd_re = MPC_RND_RE (rnd); in is_valid_mpc_rnd_mode()

123