/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/tests/ |
H A D | tremquo.c | 34 mpfr_set_si (x, -1, MPFR_RNDN); in bug20090227() 88 mpfr_set_ui (y, 1, MPFR_RNDN); in main() 94 mpfr_set_ui (x, 1, MPFR_RNDN); in main() 102 mpfr_set_ui (y, 1, MPFR_RNDN); in main() 109 mpfr_set_ui (y, 0, MPFR_RNDN); in main() 122 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 131 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 151 mpfr_set_ui (y, 0, MPFR_RNDN); in main() 157 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 166 mpfr_set_ui (x, 0, MPFR_RNDN); in main() [all …]
|
H A D | tgamma_inc.c | 47 mpfr_neg (a, a, MPFR_RNDN); in test_random() 51 if (mpfr_can_round (t, mpfr_get_prec (z), MPFR_RNDN, MPFR_RNDN, p)) in test_random() 103 mpfr_set_ui (x, 1, MPFR_RNDN); in specials() 108 mpfr_set_ui (x, 2, MPFR_RNDN); in specials() 113 mpfr_set_ui (x, 1, MPFR_RNDN); in specials() 122 mpfr_set_ui (a, 1, MPFR_RNDN); in specials() 128 mpfr_set_ui (a, 1, MPFR_RNDN); in specials() 180 mpfr_set_ui (a, 2, MPFR_RNDN); in specials() 181 mpfr_set_ui (x, 0, MPFR_RNDN); in specials() 209 mpfr_set_ui (a, 0, MPFR_RNDN); in specials() [all …]
|
H A D | tfmod.c | 108 check (r, x, y, MPFR_RNDN); in regular() 113 check (r, x, y, MPFR_RNDN); in regular() 118 check (r, x, y, MPFR_RNDN); in regular() 179 mpfr_neg (x, x, MPFR_RNDN); in special() 191 mpfr_neg (x, x, MPFR_RNDN); in special() 203 mpfr_neg (x, x, MPFR_RNDN); in special() 209 mpfr_neg (y, y, MPFR_RNDN); in special() 215 mpfr_neg (x, x, MPFR_RNDN); in special() 225 mpfr_neg (x, x, MPFR_RNDN); in special() 237 mpfr_neg (x, x, MPFR_RNDN); in special() [all …]
|
H A D | tagm.c | 118 mpfr_set_ui (a, 1, MPFR_RNDN); in check_large() 158 mpfr_set_ui (a, 1, MPFR_RNDN); in check_large() 159 mpfr_set_ui (b, 2, MPFR_RNDN); in check_large() 178 mpfr_set (a, b, MPFR_RNDN); in check_eq() 219 mpfr_agm (m, x, y, MPFR_RNDN); in check_special() 221 mpfr_agm (m, y, x, MPFR_RNDN); in check_special() 259 mpfr_neg (x, x, MPFR_RNDN); in check_special() 276 mpfr_neg (x, x, MPFR_RNDN); in check_special() 293 mpfr_neg (x, x, MPFR_RNDN); in check_special() 310 mpfr_neg (x, x, MPFR_RNDN); in check_special() [all …]
|
H A D | tjn.c | 72 mpfr_jn (y, 17, x, MPFR_RNDN); in main() 76 mpfr_jn (y, 17, x, MPFR_RNDN); in main() 80 mpfr_jn (y, 17, x, MPFR_RNDN); in main() 84 mpfr_jn (y, 0, x, MPFR_RNDN); in main() 86 mpfr_jn (y, 17, x, MPFR_RNDN); in main() 90 mpfr_jn (y, 42, x, MPFR_RNDN); in main() 93 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 95 mpfr_jn (y, 0, x, MPFR_RNDN); in main() 108 mpfr_jn (y, 0, x, MPFR_RNDN); in main() 119 mpfr_jn (y, 0, x, MPFR_RNDN); in main() [all …]
|
H A D | tstrtofr.c | 43 mpfr_set_str (y, "1234567.89E1", 10, MPFR_RNDN); in check_special() 280 mpfr_mul_2si (x, x, e, MPFR_RNDN); 655 mpfr_set_si (x, -1, MPFR_RNDN); in check_parse() 664 mpfr_set_si (x, -1, MPFR_RNDN); in check_parse() 875 mpfr_strtofr (x, " 0x", &s, 0, MPFR_RNDN); in check_parse() 924 &s, 0, MPFR_RNDN); in check_overflow() 992 &s, 0, MPFR_RNDN); in check_overflow() 1192 inex1 = mpfr_set_si (e, -1, MPFR_RNDN); in bug20120829() 1387 mpfr_set (x1, x0, MPFR_RNDN); in random_tests() 1466 mpfr_neg (x0, x0, MPFR_RNDN); in random_tests() [all …]
|
H A D | tatan.c | 38 mpfr_atan (z, x, MPFR_RNDN); in special() 85 mpfr_atan (y, x, MPFR_RNDN); in special() 95 mpfr_atan (y, x, MPFR_RNDN); in special() 101 mpfr_atan (x, x, MPFR_RNDN); in special() 107 mpfr_neg (x, x, MPFR_RNDN); in special() 109 mpfr_atan (y, x, MPFR_RNDN); in special() 115 mpfr_atan (x, x, MPFR_RNDN); in special() 127 mpfr_atan (x, x, MPFR_RNDN); in special() 137 mpfr_atan (x, x, MPFR_RNDN); in special() 177 mpfr_atan (x, x, MPFR_RNDN); in special() [all …]
|
H A D | tlog.c | 192 test_log (y, x, MPFR_RNDN); in special() 209 mpfr_set_ui (x, 3, MPFR_RNDN); in special() 210 mpfr_sqrt (x, x, MPFR_RNDN); in special() 211 test_log (y, x, MPFR_RNDN); in special() 214 mpfr_set_si (x, -1, MPFR_RNDN); in special() 215 test_log (y, x, MPFR_RNDN); in special() 224 test_log (y, x, MPFR_RNDN); in special() 228 mpfr_set_ui (x, 0, MPFR_RNDN); in special() 234 mpfr_set_ui (x, 0, MPFR_RNDN); in special() 235 mpfr_neg (x, x, MPFR_RNDN); in special() [all …]
|
H A D | tpow.c | 105 mpfr_set_ui (b, 1, MPFR_RNDN); in check_pow_ui() 169 mpfr_set_si (b, -1, MPFR_RNDN); in check_pow_ui() 178 mpfr_set_ui (b, 1, MPFR_RNDN); in check_pow_ui() 293 mpfr_set_ui (x, 0, MPFR_RNDN); in check_pow_si() 297 mpfr_set_ui (x, 0, MPFR_RNDN); in check_pow_si() 298 mpfr_neg (x, x, MPFR_RNDN); in check_pow_si() 303 mpfr_neg (x, x, MPFR_RNDN); in check_pow_si() 689 mpfr_neg (y, y, MPFR_RNDN); in special() 699 mpfr_neg (y, y, MPFR_RNDN); in special() 971 2, MPFR_RNDN); in underflows() [all …]
|
H A D | tbeta.c | 233 mpfr_set_ui (z, 3, MPFR_RNDN); in test_beta_hardcoded() 234 mpfr_set_ui (w, 3, MPFR_RNDN); in test_beta_hardcoded() 244 mpfr_set_ui (z, 5, MPFR_RNDN); in test_beta_hardcoded() 245 mpfr_set_ui (w, 27, MPFR_RNDN); in test_beta_hardcoded() 252 mpfr_set_ui (z, 5, MPFR_RNDN); in test_beta_hardcoded() 259 mpfr_set_ui (w, 2, MPFR_RNDN); in test_beta_hardcoded() 291 mpfr_set_ui (z, 3, MPFR_RNDN); in test_beta_refl() 292 mpfr_set_ui (w, 3, MPFR_RNDN); in test_beta_refl() 296 mpfr_set_ui (z, 5, MPFR_RNDN); in test_beta_refl() 307 mpfr_set_ui (w, 1, MPFR_RNDN); in test_beta_refl() [all …]
|
H A D | tyn.c | 60 mpfr_yn (y, 17, x, MPFR_RNDN); in main() 64 mpfr_yn (y, 17, x, MPFR_RNDN); in main() 68 mpfr_yn (y, 17, x, MPFR_RNDN); in main() 72 mpfr_yn (y, 0, x, MPFR_RNDN); in main() 74 mpfr_yn (y, 17, x, MPFR_RNDN); in main() 81 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 83 mpfr_yn (y, 0, x, MPFR_RNDN); in main() 85 mpfr_yn (y, 17, x, MPFR_RNDN); in main() 96 mpfr_yn (y, 0, x, MPFR_RNDN); in main() 107 mpfr_yn (y, 1, x, MPFR_RNDN); in main() [all …]
|
H A D | terf.c | 46 mpfr_erf (y, x, MPFR_RNDN); in special_erf() 55 mpfr_erf (y, x, MPFR_RNDN); in special_erf() 67 mpfr_erf (y, x, MPFR_RNDN); in special_erf() 76 mpfr_erf (y, x, MPFR_RNDN); in special_erf() 84 mpfr_neg (x, x, MPFR_RNDN); in special_erf() 85 mpfr_erf (y, x, MPFR_RNDN); in special_erf() 93 mpfr_erf (x, x, MPFR_RNDN); in special_erf() 108 mpfr_erf (x, x, MPFR_RNDN); in special_erf() 120 mpfr_erf (x, x, MPFR_RNDN); in special_erf() 147 mpfr_erf (x, x, MPFR_RNDN); in special_erf() [all …]
|
H A D | tlngamma.c | 39 mpfr_lngamma (y, x, MPFR_RNDN); in special() 48 mpfr_lngamma (y, x, MPFR_RNDN); in special() 57 mpfr_lngamma (y, x, MPFR_RNDN); in special() 64 mpfr_set_ui (x, 0, MPFR_RNDN); in special() 66 mpfr_lngamma (y, x, MPFR_RNDN); in special() 74 mpfr_set_ui (x, 0, MPFR_RNDN); in special() 75 mpfr_neg (x, x, MPFR_RNDN); in special() 77 mpfr_lngamma (y, x, MPFR_RNDN); in special() 85 mpfr_set_ui (x, 1, MPFR_RNDN); in special() 87 mpfr_lngamma (y, x, MPFR_RNDN); in special() [all …]
|
H A D | tminmax.c | 39 mpfr_min (z, x, y, MPFR_RNDN); in main() 45 mpfr_max (z, x, y, MPFR_RNDN); in main() 53 mpfr_set_ui (y, 0, MPFR_RNDN); in main() 54 mpfr_min (z, x, y, MPFR_RNDN); in main() 60 mpfr_min (z, y, x, MPFR_RNDN); in main() 66 mpfr_max (z, x, y, MPFR_RNDN); in main() 72 mpfr_max (z, y, x, MPFR_RNDN); in main() 79 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 81 mpfr_max (z, x, y, MPFR_RNDN); in main() 87 mpfr_min (z, x, y, MPFR_RNDN); in main() [all …]
|
H A D | tprec_round.c | 36 mpfr_prec_round (x, 2, MPFR_RNDN); in main() 40 mpfr_prec_round (x, 2, MPFR_RNDN); in main() 44 mpfr_prec_round (x, 2, MPFR_RNDN); in main() 47 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 48 mpfr_prec_round (x, 2, MPFR_RNDN); in main() 51 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 52 mpfr_neg (x, x, MPFR_RNDN); in main() 53 mpfr_prec_round (x, 2, MPFR_RNDN); in main() 60 mpfr_prec_round (x, 2, MPFR_RNDN); in main() 65 mpfr_set_ui (x, 1, MPFR_RNDN); in main() [all …]
|
H A D | tadd.c | 991 MPFR_RNDN); in tests() 1019 MPFR_RNDN); in tests() 1023 MPFR_RNDN); in tests() 1035 MPFR_RNDN); in tests() 1047 MPFR_RNDN); in tests() 1051 MPFR_RNDN); in tests() 1059 MPFR_RNDN); in tests() 1083 MPFR_RNDN); in tests() 1087 MPFR_RNDN); in tests() 1091 MPFR_RNDN); in tests() [all …]
|
H A D | thypot.c | 38 mpfr_set_ui (y, 0, MPFR_RNDN); in special() 39 mpfr_hypot (z, x, x, MPFR_RNDN); in special() 41 mpfr_hypot (z, x, y, MPFR_RNDN); in special() 43 mpfr_hypot (z, y, x, MPFR_RNDN); in special() 48 mpfr_hypot (z, x, y, MPFR_RNDN); in special() 53 mpfr_hypot (z, x, y, MPFR_RNDN); in special() 58 mpfr_hypot (z, x, y, MPFR_RNDN); in special() 76 mpfr_set_ui (x, 21, MPFR_RNDN); in test_large() 77 mpfr_set_ui (y, 28, MPFR_RNDN); in test_large() 78 mpfr_set_ui (z, 35, MPFR_RNDN); in test_large() [all …]
|
H A D | tfma.c | 528 mpfr_set (z, x, MPFR_RNDN); in test_underflow2() 737 inex = mpfr_add_ui (z, z, rnd == MPFR_RNDN ? 3 : 2, MPFR_RNDN); in test_underflow4() 981 mpfr_set_ui (x, 1, MPFR_RNDN); in bug20171219() 982 mpfr_set_ui (y, 1, MPFR_RNDN); in bug20171219() 983 mpfr_set_ui (z, 1, MPFR_RNDN); in bug20171219() 984 mpfr_set_ui (t, 2, MPFR_RNDN); in bug20171219() 1100 mpfr_set (y, x, MPFR_RNDN); in main() 1179 mpfr_set_ui (y, 0, MPFR_RNDN); in main() 1189 mpfr_set_ui (x, 0, MPFR_RNDN); in main() 1248 mpfr_set_ui (x, 0, MPFR_RNDN); in main() [all …]
|
H A D | tsubnormal.c | 32 {"1E1", 0, MPFR_RNDN, "0.100000000E2", 0}, 75 mpfr_neg (x, x, MPFR_RNDN); in check1() 89 mpfr_neg (x, x, MPFR_RNDN); in check1() 129 mpfr_neg (x, x, MPFR_RNDN); in check2() 135 tern = mpfr_mul (z, x, y, MPFR_RNDN); in check2() 173 tern = mpfr_mul (z, x, y, MPFR_RNDN); in check3() 188 tern = mpfr_mul (z, x, y, MPFR_RNDN); in check3() 194 mpfr_set_ui_2exp (z, 3, -3, MPFR_RNDN); in check3() 219 inex = mpfr_set (y, x, MPFR_RNDN); in check_rndna() 231 inex = mpfr_set (y, x, MPFR_RNDN); in check_rndna() [all …]
|
H A D | tlgamma.c | 36 mpfr_neg (y, y, MPFR_RNDN); in mpfr_lgamma_nosign() 88 mpfr_set_ui (x, 0, MPFR_RNDN); in special() 97 mpfr_set_ui (x, 0, MPFR_RNDN); in special() 98 mpfr_neg (x, x, MPFR_RNDN); in special() 107 mpfr_set_ui (x, 1, MPFR_RNDN); in special() 116 mpfr_set_si (x, -1, MPFR_RNDN); in special() 124 mpfr_set_ui (x, 2, MPFR_RNDN); in special() 171 mpfr_set_ui (x, 33, MPFR_RNDN); in special() 184 mpfr_set_ui (y, 120, MPFR_RNDN); in special() 234 mpfr_add_ui (x, x, 1, MPFR_RNDN); in special() [all …]
|
H A D | td_div.c | 66 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 75 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 84 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 85 mpfr_neg (x, x, MPFR_RNDN); in check_nans() 94 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 95 mpfr_neg (x, x, MPFR_RNDN); in check_nans() 104 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 113 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 122 mpfr_set_ui (x, 0, MPFR_RNDN); in check_nans() 123 mpfr_neg (x, x, MPFR_RNDN); in check_nans() [all …]
|
H A D | tsin.c | 132 test_sin (y, x, MPFR_RNDN); in test_sign() 138 test_sin (y, x, MPFR_RNDN); in test_sign() 169 test_sin (y, x, MPFR_RNDN); in check_nans() 177 test_sin (y, x, MPFR_RNDN); in check_nans() 185 test_sin (y, x, MPFR_RNDN); in check_nans() 255 mpfr_neg (x, x, MPFR_RNDN); in check_tiny() 287 mpfr_cos (y, x, MPFR_RNDN); in check_binary128() 296 mpfr_sin (y, x, MPFR_RNDN); in check_binary128() 308 mpfr_cos (y, x, MPFR_RNDN); in check_binary128() 317 mpfr_sin (y, x, MPFR_RNDN); in check_binary128() [all …]
|
H A D | tsqrt.c | 116 test_sqrt (q, q, MPFR_RNDN); in check_diverse() 196 test_sqrt (y, x, MPFR_RNDN); in special() 206 test_sqrt (y, x, MPFR_RNDN); in special() 217 test_sqrt (y, x, MPFR_RNDN); in special() 228 test_sqrt (y, x, MPFR_RNDN); in special() 275 test_sqrt (z, x, MPFR_RNDN); in special() 287 test_sqrt(x, z, MPFR_RNDN); in special() 288 test_sqrt(z, x, MPFR_RNDN); in special() 293 test_sqrt (x, x, MPFR_RNDN); in special() 405 mpfr_set (x, y, MPFR_RNDN); in special() [all …]
|
/dports/math/R-cran-Rmpfr/Rmpfr/src/ |
H A D | Ops.c | 144 mpfr_const_pi (tmp, MPFR_RNDN); in Math_mpfr() 145 mpfr_mul(R_i, R_i, tmp, MPFR_RNDN); in Math_mpfr() 146 mpfr_cos(R_i, R_i, MPFR_RNDN); in Math_mpfr() 171 mpfr_const_pi (tmp, MPFR_RNDN); in Math_mpfr() 173 mpfr_sin(R_i, R_i, MPFR_RNDN); in Math_mpfr() 199 mpfr_const_pi (tmp, MPFR_RNDN); in Math_mpfr() 201 mpfr_tan(R_i, R_i, MPFR_RNDN); in Math_mpfr() 478 mpfr_set(y_i, r, MPFR_RNDN); in Arith_i_mpfr() 652 mpfr_set(y_i, r, MPFR_RNDN); in Arith_d_mpfr() 685 mpfr_set(y_i, r, MPFR_RNDN); in Arith_d_mpfr() [all …]
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/src/ |
H A D | li2.c | 77 mpfr_add (s, s, w, MPFR_RNDN); in li2_series() 184 mpfr_neg (g, x, MPFR_RNDN); in mpfr_li2_asympt_neg() 320 mpfr_sqr (u, u, MPFR_RNDN); in mpfr_li2() 364 mpfr_neg (s, s, MPFR_RNDN); in mpfr_li2() 367 mpfr_sqr (u, u, MPFR_RNDN); in mpfr_li2() 377 mpfr_sqr (u, u, MPFR_RNDN); in mpfr_li2() 385 mpfr_sqr (u, u, MPFR_RNDN); in mpfr_li2() 424 mpfr_sqr (u, v, MPFR_RNDN); in mpfr_li2() 435 mpfr_sqr (u, u, MPFR_RNDN); in mpfr_li2() 473 mpfr_neg (u, u, MPFR_RNDN); in mpfr_li2() [all …]
|