Home
last modified time | relevance | path

Searched refs:mpfr_t (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/netbsd/src/external/lgpl3/mpfr/dist/doc/
Dmpfr.info460 The C data type for such objects is ‘mpfr_t’, internally defined as a
638 This section specifies the floating-point values (of type ‘mpfr_t’)
874 The floating-point functions expect arguments of type ‘mpfr_t’.
932 An ‘mpfr_t’ object must be initialized before storing the first value in
936 -- Function: void mpfr_init2 (mpfr_t X, mpfr_prec_t PREC)
951 -- Function: void mpfr_inits2 (mpfr_prec_t PREC, mpfr_t X, ...)
952 Initialize all the ‘mpfr_t’ variables of the given variable
955 ‘va_list’ is assumed to be composed only of type ‘mpfr_t’ (or
959 -- Function: void mpfr_clear (mpfr_t X)
961 this function for all ‘mpfr_t’ variables when you are done with
[all …]
Dmpfr.texi767 @tindex @code{mpfr_t}
791 The C data type for such objects is @code{mpfr_t}, internally defined
1005 This section specifies the floating-point values (of type @code{mpfr_t})
1265 The floating-point functions expect arguments of type @code{mpfr_t}.
1323 An @code{mpfr_t} object must be initialized before storing the first value in
1327 @deftypefun void mpfr_init2 (mpfr_t @var{x}, mpfr_prec_t @var{prec})
1343 @deftypefun void mpfr_inits2 (mpfr_prec_t @var{prec}, mpfr_t @var{x}, ...)
1344 Initialize all the @code{mpfr_t} variables of the given variable
1348 The @code{va_list} is assumed to be composed only of type @code{mpfr_t}
1354 @deftypefun void mpfr_clear (mpfr_t @var{x})
[all …]
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dconstant.c26 const mpfr_t __gmpfr_one = {{2, MPFR_SIGN_POS, 1, (mp_limb_t*)__gmpfr_limb1}};
27 const mpfr_t __gmpfr_two = {{2, MPFR_SIGN_POS, 2, (mp_limb_t*)__gmpfr_limb1}};
28 const mpfr_t __gmpfr_four ={{2, MPFR_SIGN_POS, 3, (mp_limb_t*)__gmpfr_limb1}};
29 const mpfr_t __gmpfr_mone ={{2, MPFR_SIGN_NEG, 1, (mp_limb_t*)__gmpfr_limb1}};
48 const mpfr_t __gmpfr_const_log2_RNDD =
68 const mpfr_t __gmpfr_const_log2_RNDU =
Dai.c63 mpfr_t s; /* used to store the partial sum */ in mpfr_ai1()
64 mpfr_t ti, tip1; /* used to store successive values of t_i */ in mpfr_ai1()
65 mpfr_t x3; /* used to store x^3 */ in mpfr_ai1()
66 mpfr_t tmp_sp, tmp2_sp; /* small precision variables */ in mpfr_ai1()
68 mpfr_t temp1, temp2; in mpfr_ai1()
81 mpfr_t y1, y2; in mpfr_ai1()
334 mpfr_t s; /* used to store the partial sum */ in mpfr_ai2()
335 mpfr_t u0, u1; in mpfr_ai2()
336 mpfr_t *z; /* used to store the (x^3j) */ in mpfr_ai2()
337 mpfr_t result; in mpfr_ai2()
[all …]
Dzeta.c38 mpfr_zeta_part_b (mpfr_ptr b, mpfr_srcptr s, int n, int p, mpfr_t *tc) in mpfr_zeta_part_b()
40 mpfr_t s1, d, u; in mpfr_zeta_part_b()
103 mpfr_zeta_c (int p, mpfr_t *tc) in mpfr_zeta_c()
107 mpfr_t d; in mpfr_zeta_c()
135 mpfr_t u, s1; in mpfr_zeta_part_a()
163 mpfr_t b, c, z_pre, f, s1; in mpfr_zeta_pos()
165 mpfr_t *tc1; in mpfr_zeta_pos()
264 size = (p + 1) * sizeof(mpfr_t); in mpfr_zeta_pos()
265 tc1 = (mpfr_t*) mpfr_allocate_func (size); in mpfr_zeta_pos()
316 mpfr_t t, u, m1; in compute_add()
[all …]
Ddot.c32 mpfr_t *c; in mpfr_dot()
44 c = (mpfr_t *) mpfr_allocate_func (n * sizeof (mpfr_t)); in mpfr_dot()
56 mpfr_free_func (c, n * sizeof (mpfr_t)); in mpfr_dot()
Dgmp_op.c58 mpfr_t t; in foo()
75 mpfr_t t; in foo2()
136 mpfr_t t; in mpfr_cmp_z()
209 mpfr_t tmp; in mpfr_muldiv_z()
226 mpfr_t x0; in mpfr_muldiv_z()
272 mpfr_t t,q; in mpfr_add_q()
362 mpfr_t t,q; in mpfr_sub_q()
458 mpfr_t t; in mpfr_cmp_q()
502 mpfr_t t; in mpfr_cmp_f()
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtstckintc.c124 mpfr_ptr x = (mpfr_ptr) new_st (sizeof (mpfr_t)); in new_mpfr()
136 mpfr_ptr x = (mpfr_ptr) new_st (sizeof (mpfr_t)); in new_nan1()
148 mpfr_ptr x = (mpfr_ptr) new_st (sizeof (mpfr_t)); in new_nan2()
186 mpfr_ptr x = (mpfr_ptr) new_st (sizeof (mpfr_t)); in new_inf()
218 memmove (old_stack, x, sizeof (mpfr_t)); in return_mpfr()
219 memmove (old_stack + ALIGNED (sizeof (mpfr_t)), mantissa, size_mantissa); in return_mpfr()
221 newx2 = (long *) (void *) (old_stack + ALIGNED (sizeof (mpfr_t))); in return_mpfr()
249 memmove (old_stack, x, sizeof (mpfr_t)); in return_mpfr_func()
250 memmove (old_stack + ALIGNED (sizeof (mpfr_t)), mantissa, size_mantissa); in return_mpfr_func()
252 (mpfr_custom_move) (newx, old_stack + ALIGNED (sizeof (mpfr_t))); in return_mpfr_func()
[all …]
Dterandom.c28 mpfr_t x; in test_special()
48 mpfr_t *t; in test_erandom()
51 t = (mpfr_t *) tests_allocate (nbtests * sizeof (mpfr_t)); in test_erandom()
70 mpfr_t av, va, tmp; in test_erandom()
98 tests_free (t, nbtests * sizeof (mpfr_t)); in test_erandom()
Dtgrandom.c29 mpfr_t x; in test_special()
55 mpfr_t *t; in test_grandom()
59 t = (mpfr_t *) tests_allocate (nbtests * sizeof (mpfr_t)); in test_grandom()
79 mpfr_t av, va, tmp; in test_grandom()
107 tests_free (t, nbtests * sizeof (mpfr_t)); in test_grandom()
Dtnrandom.c28 mpfr_t x; in test_special()
64 mpfr_t *t; in test_nrandom()
74 t = (mpfr_t *) tests_allocate (nbtests * sizeof (mpfr_t)); in test_nrandom()
104 mpfr_t av, va, tmp; in test_nrandom()
132 tests_free (t, nbtests * sizeof (mpfr_t)); in test_nrandom()
Dtaway.c99 mpfr_t ref1, ref2, ref3; in test3()
100 mpfr_t res1; in test3()
146 mpfr_t ref, op1, op2, op3; in test4()
148 mpfr_t res; in test4()
203 mpfr_t ref1, ref2; in test2ui()
205 mpfr_t res1; in test2ui()
248 mpfr_t ref1, ref3; in testui2()
250 mpfr_t res1; in testui2()
290 mpfr_t ref1, ref2; in test2()
291 mpfr_t res1; in test2()
[all …]
Dtsin_cos.c29 mpfr_t x, s, c; in large_test()
48 mpfr_t xx, s, c; in check53()
77 mpfr_t xx, s, c; in check53sin()
97 mpfr_t xx, c, s; in check53cos()
117 mpfr_t x, s, c; in check_nans()
168 mpfr_t x, y, z; in overflowed_sin_cos0()
258 mpfr_t x, s, c; in tiny()
280 mpfr_t a, b; in test20071214()
312 mpfr_t x, y, z, yref, zref, h; in test_mpfr_sincos_fast()
372 mpfr_t x, y, z, yref, zref; in bug20091007()
[all …]
Dtsum.c39 get_prec_max (mpfr_t *t, int n) in get_prec_max()
62 get_exact_sum (mpfr_ptr sum, mpfr_t *tab, int n) in get_exact_sum()
79 mpfr_t exact_sum, sum1, sum2; in generic_tests()
80 mpfr_t *t; in generic_tests()
86 t = (mpfr_t *) tests_allocate (nmax * sizeof(mpfr_t)); in generic_tests()
162 tests_free (t, nmax * sizeof(mpfr_t)); in generic_tests()
177 mpfr_t tab[3], r; in check_simple()
202 mpfr_t tab[3], r; in check_special()
290 mpfr_t c[NC], s[NS], sum; in check_more_special()
376 mpfr_t sum1, sum2, s1, s2, s3, t[4]; in check1()
[all …]
Dtsin.c51 mpfr_t xx, s; in check53()
73 mpfr_t xx, s; in check53b()
95 mpfr_t pid, piu, x, y; in test_sign()
163 mpfr_t x, y; in check_nans()
209 mpfr_t x, y; in check_regression()
233 mpfr_t x, y; in check_tiny()
278 mpfr_t x, y, z; in check_binary128()
336 mpfr_t x, y, z; in check_212()
361 mpfr_t x, c, s, c2, s2; in main()
Dreuse.c95 mpfr_t ref1, ref2, ref3; in test3()
96 mpfr_t res1; in test3()
170 mpfr_t ref, op1, op2, op3; in test4()
171 mpfr_t res; in test4()
305 mpfr_t ref1, ref2; in test2ui()
307 mpfr_t res1; in test2ui()
350 mpfr_t ref1, ref3; in testui2()
352 mpfr_t res1; in testui2()
392 mpfr_t ref1, ref2; in test2()
393 mpfr_t res1; in test2()
[all …]
Dtconst_log2.c30 mpfr_t x, y, z; in check()
74 mpfr_t x, y, z; in check_large()
109 mpfr_t x; in check_cache()
156 mpfr_t x, y; in exercise_Ziv()
172 mpfr_t x; in main()
Dtget_ld_2exp.c33 mpfr_t f; in check_round()
81 mpfr_t x; in check_inf_nan()
108 mpfr_t x; in bug20090520()
134 mpfr_t x; in bug20180904()
Dtdigamma.c31 mpfr_t x, y; in special()
61 mpfr_t x, y[NPREC], z; in bug20210206()
98 mpfr_t x, y; in bug20210208()
118 mpfr_t x, y; in bug20210215()
Dtai.c36 mpfr_t x, y, z; in check_large()
71 mpfr_t x, y, r; in check_zero()
96 mpfr_t x, y, z; in bug20180107()
140 mpfr_t x, xx, y, yy; in test_near_m2e()
209 mpfr_t x, y; in coverage()
Dtdiv.c48 mpfr_t a2; in mpfr_all_div()
166 mpfr_t q, n, d; in check4()
189 mpfr_t q, n, d; in check24()
297 mpfr_t x,y,z; in check_64()
322 mpfr_t x, y; int i, j; in check_convergence()
374 mpfr_t xx; in get_inexact()
386 mpfr_t u, v, q, q2; in check_hard()
460 mpfr_t x, y, z, z2, z3, tmp; in check_lowr()
613 mpfr_t x, y, z, u; in check_inexact()
731 mpfr_t a, d, q; in check_special()
[all …]
Dtget_q.c30 mpfr_t f; in special()
78 mpfr_t f, g; in random_tests()
108 mpfr_t x; in check_canonical()
138 mpfr_t x; in coverage()
Dtexp10.c33 mpfr_t x, y; in special_overflow()
67 mpfr_t x, y; in emax_m_eps()
93 mpfr_t x; in exp_range()
116 mpfr_t x, y; in overfl_exp10_0()
216 mpfr_t x1, x2, y1, y2; in bug20230213()
292 mpfr_t x, y, z, t1, t2; in bug20230427()
377 mpfr_t x, y; in main()
/netbsd/src/external/lgpl3/mpfr/dist/examples/
Ddivworst.c45 eval (mpfr_t x, mpfr_t y, mpfr_t z, mpfr_t t, mpfr_rnd_t rnd) in eval()
56 mpfr_t VARS; in main()
/netbsd/src/external/lgpl3/mpfr/dist/tune/
Dbidimensional_sample.c98 mpfr_t temp; in generate_2D_sample()
100 mpfr_t incr_x; in generate_2D_sample()
101 mpfr_t x, x2; in generate_2D_sample()
269 mpfr_t w, x; \
342 mpfr_t w, x; in virtual_timing_ai1()
344 mpfr_t temp1, temp2; in virtual_timing_ai1()
389 mpfr_t w, x; in virtual_timing_ai2()
391 mpfr_t temp1, temp2; in virtual_timing_ai2()

12345678910>>...16