Home
last modified time | relevance | path

Searched refs:mpfr_set_exp (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/external/lgpl3/mpc/dist/src/
H A Dsqr.c73 mpfr_set_exp ((mpfr_ptr) a, (mpfr_prec_t) 0); in mpfr_fsss()
74 mpfr_set_exp ((mpfr_ptr) c, (mpfr_prec_t) 0); in mpfr_fsss()
87 mpfr_set_exp (u, (mpfr_prec_t) 0); in mpfr_fsss()
90 mpfr_set_exp (v, (mpfr_prec_t) 0); in mpfr_fsss()
101 mpfr_set_exp (u, emax); in mpfr_fsss()
104 mpfr_set_exp (v, (mpfr_exp_t) mpz_get_ui (ev)); in mpfr_fsss()
108 mpfr_set_exp (v, emax); in mpfr_fsss()
111 mpfr_set_exp (u, (mpfr_exp_t) mpz_get_ui (eu)); in mpfr_fsss()
128 mpfr_set_exp (u, emin); in mpfr_fsss()
131 mpfr_set_exp (v, (mpfr_exp_t) mpz_get_si (ev)); in mpfr_fsss()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtset_exp.c41 ret = mpfr_set_exp (x, 2); in main()
48 ret = mpfr_set_exp (x, emax); in main()
54 ret = mpfr_set_exp (x, emin); in main()
78 ret = mpfr_set_exp (x, -1); in main()
82 ret = mpfr_set_exp (x, 1); in main()
85 ret = mpfr_set_exp (x, -2); in main()
88 ret = mpfr_set_exp (x, 2); in main()
H A Dtagm.c63 mpfr_set_exp (ta, e0); in check4()
64 mpfr_set_exp (tb, e0 + (eb - ea)); in check4()
65 mpfr_set_exp (tc, e0 + (ec - ea)); in check4()
69 mpfr_set_exp (ta, e0 + (ea - eb)); in check4()
70 mpfr_set_exp (tb, e0); in check4()
71 mpfr_set_exp (tc, e0 + (ec - eb)); in check4()
H A Dtsubnormal.c131 mpfr_set_exp (x, 0); in check2()
132 mpfr_set_exp (y, 0); in check2()
167 mpfr_set_exp (x, 0); in check3()
168 mpfr_set_exp (y, 0); in check3()
H A Dtgeneric.c292 mpfr_set_exp (x, REDUCE_EMIN); in test_generic()
295 mpfr_set_exp (x2, REDUCE_EMIN); in test_generic()
313 mpfr_set_exp (x, REDUCE_EMIN); in test_generic()
323 mpfr_set_exp (x2, REDUCE_EMIN); in test_generic()
H A Dtfmma.c272 mpfr_set_exp (a, exp_a); in overflow_tests()
276 mpfr_set_exp (k, exp_a - 32); in overflow_tests()
318 mpfr_set_exp (c, RAND_BOOL () ? exp_a - 2 : __gmpfr_emin); in overflow_tests()
322 mpfr_set_exp (d, RAND_BOOL () ? exp_a - 2 : __gmpfr_emin); in overflow_tests()
H A Dtatan.c449 mpfr_set_exp (y, mpfr_get_emin ()); in smallvals_atan2()
453 mpfr_set_exp (y, mpfr_get_emin ()); in smallvals_atan2()
460 mpfr_set_exp (y, mpfr_get_emin ()); in smallvals_atan2()
H A Dtgeneric_ui.c65 mpfr_set_exp (x, mpfr_get_emin ()); in test_generic_ui()
H A Dtfrexp.c151 mpfr_set_exp (x, MPFR_EMAX_MAX); in check1()
H A Dtpow.c794 mpfr_set_exp (y, mpfr_get_emax ()); in special()
823 mpfr_set_exp (x, mpfr_get_emin ()); in special()
1068 mpfr_set_exp (x, mpfr_get_emin()); in underflows()
1384 mpfr_set_exp (y, mpfr_get_emax ()); in bug20071103()
1491 mpfr_set_exp (max_val, mpfr_get_emax ()); in bug20071128()
H A Dtsin_cos.c266 mpfr_set_exp (x, mpfr_get_emin ()); in tiny()
581 mpfr_set_exp (x, mpfr_get_emin ()); in consistency()
H A Dtests.c732 if (mpfr_set_exp (x, e)) in tests_default_random()
739 mpfr_set_exp (x, e); in tests_default_random()
H A Dtfpif.c54 mpfr_set_exp (x[2], -48000); in doit()
H A Dtset_sj.c249 mpfr_set_exp (x1, ep[i] + e); in test_2exp_extreme_aux()
H A Dtmul.c1007 mpfr_set_exp (y, 0); in small_prec()
1019 mpfr_set_exp (x, __gmpfr_emin); in small_prec()
1024 mpfr_set_exp (x, __gmpfr_emax); in small_prec()
H A Dtsin.c239 mpfr_set_exp (x, mpfr_get_emin ()); in check_tiny()
H A Dtsum.c114 mpfr_set_exp (t[i], randlimb () % 1000); in generic_tests()
1108 mpfr_set_exp (t[i], MPFR_EMIN_MIN); in check_underflow()
H A Dtset_si.c151 mpfr_set_exp (x1, ep[i] + e); in test_2exp_extreme_aux()
H A Dtsqrt.c350 mpfr_set_exp (x, GMP_NUMB_BITS); in special()
H A Dtadd.c694 mpfr_set_exp (c, mpfr_get_emax () - 512); in check_overflow()
H A Dtget_str.c1502 mpfr_set_exp (x, (e == -10) ? mpfr_get_emin () : in main()
/netbsd-src/external/lgpl3/mpc/dist/tests/
H A Drandom.c153 mpfr_set_exp (mpc_realref (z), (mpfr_exp_t) gmp_urandomm_ui (rands, range) + emin); in test_default_random()
156 mpfr_set_exp (mpc_imagref (z), (mpfr_exp_t) gmp_urandomm_ui (rands, range) + emin); in test_default_random()
220 mpfr_set_exp (x, (mpfr_exp_t) gmp_urandomm_ui (rands, range) + emin); in test_random_mpfr()
263 mpfr_set_exp (mpc_realref (z), in test_random_mpc()
266 mpfr_set_exp (mpc_imagref (z), in test_random_mpc()
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dset_exp.c26 mpfr_set_exp (mpfr_ptr x, mpfr_exp_t exponent) in mpfr_set_exp() function
H A Dmpfr.h462 __MPFR_DECLSPEC int mpfr_set_exp (mpfr_ptr, mpfr_exp_t);
/netbsd-src/external/lgpl3/mpfr/dist/
H A DNEWS144 - The behavior of the mpfr_set_exp function changed, as it could easily
415 mpfr_set_exp, mpfr_get_ld, mpfr_set_ld, mpfr_get_d_2exp, mpfr_get_si,

12