Home
last modified time | relevance | path

Searched refs:mpfr_add (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/dports/math/mpfrcx/mpfrcx-0.6.2/src/
H A Df_mul.c153 mpfr_add (*buff_local, *buff_local, *tmp, GMP_RNDN); in mpfrx_array_mul_karatsuba()
168 mpfr_add (*buff_local, *buff_local, *tmp, GMP_RNDN); in mpfrx_array_mul_karatsuba()
223 mpfr_add (*tmp, *tmp, *h_local, GMP_RNDN); in mpfrx_array_mul_karatsuba()
278 mpfr_add (*buff_local, *buff_local, *tmp, GMP_RNDN); in mpfrx_array_mul_toomcook()
386 mpfr_add (*tmp, *tmp, *buff_local, GMP_RNDN); in mpfrx_array_mul_toomcook()
399 mpfr_add (*tmp, *tmp, *buff_local, GMP_RNDN); in mpfrx_array_mul_toomcook()
484 mpfr_add (*tmp, *tmp, *buff_local, GMP_RNDN); in mpfrx_array_mul_toomcook()
500 mpfr_add (*tmp, *tmp, *buff_local, GMP_RNDN); in mpfrx_array_mul_toomcook()
527 mpfr_add (*tmp, *tmp, *buff_local, GMP_RNDN); in mpfrx_array_mul_toomcook()
548 mpfr_add (*tmp, *tmp, *buff_local, GMP_RNDN); in mpfrx_array_mul_toomcook()
[all …]
H A Df_root.c79 mpfr_add (value, value, tmp, GMP_RNDN); in mpfrx_root()
82 mpfr_add (valuep, valuep, tmpp, GMP_RNDN); in mpfrx_root()
86 mpfr_add (value, value, tmp, GMP_RNDN); in mpfrx_root()
/dports/math/mpc/mpc-1.2.1/src/
H A Dfma.c71 inex_re = mpfr_add (mpc_realref(r), tmp, mpc_realref(c), MPC_RND_RE(rnd)); in mpc_fma_naive()
78 mpfr_add (tmp, rea_reb, mpc_realref(c), MPFR_RNDZ); /* exact */ in mpc_fma_naive()
87 inex_re = mpfr_add (mpc_realref(r), tmp, rea_reb, MPC_RND_RE(rnd)); in mpc_fma_naive()
102 mpfr_add (tmp, rea_imb, ima_reb, MPFR_RNDZ); /* exact */ in mpc_fma_naive()
103 inex_im = mpfr_add (mpc_imagref(r), tmp, mpc_imagref(c), MPC_RND_IM(rnd)); in mpc_fma_naive()
110 mpfr_add (tmp, rea_imb, mpc_imagref(c), MPFR_RNDZ); /* exact */ in mpc_fma_naive()
111 inex_im = mpfr_add (mpc_imagref(r), tmp, ima_reb, MPC_RND_IM(rnd)); in mpc_fma_naive()
118 mpfr_add (tmp, mpc_imagref(c), ima_reb, MPFR_RNDZ); /* exact */ in mpc_fma_naive()
119 inex_im = mpfr_add (mpc_imagref(r), tmp, rea_imb, MPC_RND_IM(rnd)); in mpc_fma_naive()
H A Dnorm.c89 mpfr_add (res, u, v, MPFR_RNDD); /* err <= 3 ulp in prec */ in mpc_norm()
98 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
127 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
134 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
160 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
H A Dmul.c331 mpfr_add (u, b, a, MPFR_RNDA)); in mpc_mul_karatsuba()
335 mpfr_add (x, c, d, MPFR_RNDA) : in mpc_mul_karatsuba()
370 inexact |= mpfr_add (u, u, x, rnd_u); /* ac - bd */ in mpc_mul_karatsuba()
393 inex_im = mpfr_add (mpc_imagref(result), v, w, MPC_RND_IM(rnd)); in mpc_mul_karatsuba()
396 inex_im = mpfr_add (mpc_imagref(result), v, w, MPC_RND_IM(rnd)); in mpc_mul_karatsuba()
404 inex_re = mpfr_add (mpc_realref(result), v, w, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
407 inex_re = mpfr_add (mpc_realref(result), v, w, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
415 inex_im = -mpfr_add (mpc_imagref(result), v, w, in mpc_mul_karatsuba()
421 inex_im = -mpfr_add (mpc_imagref(result), v, w, in mpc_mul_karatsuba()
H A Dadd.c29 inex_re = mpfr_add (mpc_realref(a), mpc_realref(b), mpc_realref(c), MPC_RND_RE(rnd)); in mpc_add()
30 inex_im = mpfr_add (mpc_imagref(a), mpc_imagref(b), mpc_imagref(c), MPC_RND_IM(rnd)); in mpc_add()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpc-1.2.1-c/src/
H A Dfma.c71 inex_re = mpfr_add (mpc_realref(r), tmp, mpc_realref(c), MPC_RND_RE(rnd)); in mpc_fma_naive()
78 mpfr_add (tmp, rea_reb, mpc_realref(c), MPFR_RNDZ); /* exact */ in mpc_fma_naive()
87 inex_re = mpfr_add (mpc_realref(r), tmp, rea_reb, MPC_RND_RE(rnd)); in mpc_fma_naive()
102 mpfr_add (tmp, rea_imb, ima_reb, MPFR_RNDZ); /* exact */ in mpc_fma_naive()
103 inex_im = mpfr_add (mpc_imagref(r), tmp, mpc_imagref(c), MPC_RND_IM(rnd)); in mpc_fma_naive()
110 mpfr_add (tmp, rea_imb, mpc_imagref(c), MPFR_RNDZ); /* exact */ in mpc_fma_naive()
111 inex_im = mpfr_add (mpc_imagref(r), tmp, ima_reb, MPC_RND_IM(rnd)); in mpc_fma_naive()
118 mpfr_add (tmp, mpc_imagref(c), ima_reb, MPFR_RNDZ); /* exact */ in mpc_fma_naive()
119 inex_im = mpfr_add (mpc_imagref(r), tmp, rea_imb, MPC_RND_IM(rnd)); in mpc_fma_naive()
H A Dnorm.c89 mpfr_add (res, u, v, MPFR_RNDD); /* err <= 3 ulp in prec */ in mpc_norm()
98 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
127 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
134 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
160 inexact = mpfr_add (a, u, v, rnd); in mpc_norm()
H A Dmul.c331 mpfr_add (u, b, a, MPFR_RNDA)); in mpc_mul_karatsuba()
335 mpfr_add (x, c, d, MPFR_RNDA) : in mpc_mul_karatsuba()
370 inexact |= mpfr_add (u, u, x, rnd_u); /* ac - bd */ in mpc_mul_karatsuba()
393 inex_im = mpfr_add (mpc_imagref(result), v, w, MPC_RND_IM(rnd)); in mpc_mul_karatsuba()
396 inex_im = mpfr_add (mpc_imagref(result), v, w, MPC_RND_IM(rnd)); in mpc_mul_karatsuba()
404 inex_re = mpfr_add (mpc_realref(result), v, w, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
407 inex_re = mpfr_add (mpc_realref(result), v, w, MPC_RND_RE(rnd)); in mpc_mul_karatsuba()
415 inex_im = -mpfr_add (mpc_imagref(result), v, w, in mpc_mul_karatsuba()
421 inex_im = -mpfr_add (mpc_imagref(result), v, w, in mpc_mul_karatsuba()
H A Dadd.c29 inex_re = mpfr_add (mpc_realref(a), mpc_realref(b), mpc_realref(c), MPC_RND_RE(rnd)); in mpc_add()
30 inex_im = mpfr_add (mpc_imagref(a), mpc_imagref(b), mpc_imagref(c), MPC_RND_IM(rnd)); in mpc_add()
/dports/math/e-antic/flint2-ae7ec89/fmpz_lll/
H A Dis_reduced_mpfr.c67 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr()
82 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr()
144 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
151 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
262 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
272 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
283 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
427 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
612 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
619 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
[all …]
H A Dis_reduced_mpfr_with_removal.c68 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr_with_removal()
83 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr_with_removal()
145 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
152 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
263 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
273 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
284 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
428 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
633 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
640 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
[all …]
/dports/math/flint2/flint-2.8.4/fmpz_lll/
H A Dis_reduced_mpfr.c67 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr()
82 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr()
144 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
151 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
262 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
272 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
283 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
427 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
612 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
619 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
[all …]
H A Dis_reduced_mpfr_with_removal.c68 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr_with_removal()
83 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr_with_removal()
145 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
152 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
263 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
273 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
284 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
428 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
633 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
640 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
[all …]
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz_lll/
H A Dis_reduced_mpfr.c67 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr()
82 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr()
144 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
151 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
262 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
272 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
283 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr()
427 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
612 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
619 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr()
[all …]
H A Dis_reduced_mpfr_with_removal.c68 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr_with_removal()
83 mpfr_add(s, s, norm, MPFR_RNDN); in fmpz_lll_is_reduced_mpfr_with_removal()
145 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
152 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
263 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
273 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
284 mpfr_add(mpfr_mat_entry(bound2, i, j), in fmpz_lll_is_reduced_mpfr_with_removal()
428 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
633 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
640 mpfr_add(s, s, tmp, MPFR_RNDU); in fmpz_lll_is_reduced_mpfr_with_removal()
[all …]
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/examples/
H A Drndo-add.c75 mpfr_add (d, x, y, MPFR_RNDD); in main()
78 mpfr_add (u, x, y, MPFR_RNDU); in main()
81 mpfr_add (e, d, u, MPFR_RNDN); in main()
86 mpfr_add (z, z, d, MPFR_RNDN); in main()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/src/
H A Djyn_asympt.c91 mpfr_add (t, s, c, MPFR_RNDN); in FUNCTION()
127 mpfr_add (err_u, err_u, err_t, MPFR_RNDU); /* max|t| * 2^w */ in FUNCTION()
133 mpfr_add (err_s, err_s, t, MPFR_RNDU); in FUNCTION()
144 mpfr_add (Q, Q, t, MPFR_RNDN); in FUNCTION()
159 mpfr_add (P, P, t, MPFR_RNDN); in FUNCTION()
168 mpfr_add (err_s, err_s, err_t, MPFR_RNDU); in FUNCTION()
205 mpfr_add (s, s, c, MPFR_RNDN); in FUNCTION()
222 mpfr_add (s, s, c, MPFR_RNDN); in FUNCTION()
H A Dzeta.c67 mpfr_add (d, d, tc[p-l], MPFR_RNDN); in mpfr_zeta_part_b()
74 mpfr_add (s1, s, __gmpfr_one, MPFR_RNDN); in mpfr_zeta_part_b()
120 mpfr_add (d, d, tc[l], MPFR_RNDN); in mpfr_zeta_c()
148 mpfr_add (sum, sum, u, MPFR_RNDN); in mpfr_zeta_part_a()
150 mpfr_add (sum, sum, __gmpfr_one, MPFR_RNDN); in mpfr_zeta_part_a()
227 mpfr_add (z_pre, z_pre, f, MPFR_RNDN); in mpfr_zeta_pos()
281 mpfr_add (z_pre, z_pre, c, MPFR_RNDN); in mpfr_zeta_pos()
282 mpfr_add (z_pre, z_pre, b, MPFR_RNDN); in mpfr_zeta_pos()
422 mpfr_add (z, z, y, rnd); in mpfr_reflection_overflow()
H A Dli2.c77 mpfr_add (s, s, w, MPFR_RNDN); in li2_series()
193 mpfr_add (g, g, h, MPFR_RNDN); /* err <= ulp(g)/2 + g*2^(2-w) + g*5*2^(-w) in mpfr_li2_asympt_neg()
369 mpfr_add (s, s, u, MPFR_RNDN); in mpfr_li2()
387 mpfr_add (s, s, u, MPFR_RNDN); in mpfr_li2()
426 mpfr_add (s, s, u, MPFR_RNDN); in mpfr_li2()
437 mpfr_add (s, s, u, MPFR_RNDN); in mpfr_li2()
481 mpfr_add (s, s, v, MPFR_RNDN); in mpfr_li2()
487 mpfr_add (s, s, u, MPFR_RNDN); in mpfr_li2()
494 mpfr_add (s, s, u, MPFR_RNDN); in mpfr_li2()
600 mpfr_add (s, s, w, MPFR_RNDN); in mpfr_li2()
/dports/devel/p5-DateTime-Astro/DateTime-Astro-1.04/xs/
H A Ddt_astro_lunar.inc140 mpfr_add(a, a, x, GMP_RNDN);
141 mpfr_add(a, a, y, GMP_RNDN);
142 mpfr_add(a, a, z, GMP_RNDN);
147 mpfr_add(fugly, fugly, a, GMP_RNDN);
170 mpfr_add(a, a, b, GMP_RNDN);
184 mpfr_add(a, a, b, GMP_RNDN);
203 mpfr_add(*result, *result, venus, GMP_RNDN);
221 mpfr_add(*result, *result, N, GMP_RNDN);
497 mpfr_add(x, x, y, GMP_RNDN);
498 mpfr_add(x, x, z, GMP_RNDN);
[all …]
H A Ddt_astro_solar.inc85 mpfr_add(b, b, c, GMP_RNDN);
88 mpfr_add(fugly, fugly, a, GMP_RNDN);
102 mpfr_add(longitude, longitude, b, GMP_RNDN);
103 mpfr_add(longitude, longitude, c, GMP_RNDN);
125 mpfr_add( *result, *result, A, GMP_RNDN );
126 mpfr_add( *result, *result, N, GMP_RNDN );
302 mpfr_add( tau, tau, n, GMP_RNDN );
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/tests/
H A Dtsum.c69 if (mpfr_add (sum, sum, tab[i], MPFR_RNDN)) in get_exact_sum()
397 inex1 = mpfr_add (s1, t[0], t[1], MPFR_RNDN); in check1()
402 inex1 = mpfr_add (s2, s1, t[2], MPFR_RNDN); in check1()
480 inex1 = mpfr_add (s1, t[0], t[1], MPFR_RNDN); in check2()
561 inex1 = mpfr_add (s1, s1, t[i], MPFR_RNDN); in check3()
571 inex1 = mpfr_add (s2, s1, t[17], MPFR_RNDN); in check3()
667 inex1 = mpfr_add (s1, t[0], t[1], MPFR_RNDN); in check4()
675 inex1 = mpfr_add (s2, s1, t[2], MPFR_RNDN); in check4()
842 inex1 = mpfr_add (x, u, w, MPFR_RNDN); in check_extreme()
1211 ret = mpfr_add (s, x[0], x[1], rnd); in mpfr_sum_naive()
[all …]
/dports/math/mpfi/mpfi-1.5.4/src/
H A Dmid.c39 inexact_add = mpfr_add (m, &(y->left), &(y->right), MPFR_RNDN); in mpfi_mid()
51 inexact_add = mpfr_add (m, tmp_l, tmp_r, MPFR_RNDN); in mpfi_mid()
/dports/math/arb/arb-2.21.1/fmpr/test/
H A Dt-add_naive.c100 mpfr_res = mpfr_add(Z, X, Y, MPFR_RNDZ); in main()
104 mpfr_res = mpfr_add(Z, X, Y, MPFR_RNDA); in main()
108 mpfr_res = mpfr_add(Z, X, Y, MPFR_RNDD); in main()
112 mpfr_res = mpfr_add(Z, X, Y, MPFR_RNDU); in main()

12345678910>>...15