Home
last modified time | relevance | path

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

123

/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtsqrt.c251 if (mpfr_cmp_ui_2exp(x, 3, -1)) in special()
333 MPFR_ASSERTN(inexact > 0 && mpfr_cmp_ui_2exp (z, 3, -1) == 0); in special()
337 MPFR_ASSERTN(inexact > 0 && mpfr_cmp_ui_2exp (z, 3, -1) == 0); in special()
358 inexact = mpfr_cmp_ui_2exp (z, 1, GMP_NUMB_BITS - 1); in special()
364 mpfr_cmp_ui_2exp (z, 1, GMP_NUMB_BITS - 1) == 0); in special()
613 MPFR_ASSERTN(ret == -1 && mpfr_cmp_ui_2exp (r, 1, n-1) == 0); in bug20160908()
673 MPFR_ASSERTN(mpfr_cmp_ui_2exp (r, 9, GMP_NUMB_BITS - 5) == 0); in test_sqrt1n()
679 MPFR_ASSERTN(mpfr_cmp_ui_2exp (r, 15, GMP_NUMB_BITS - 5) == 0); in test_sqrt1n()
694 MPFR_ASSERTN(mpfr_cmp_ui_2exp (r, 1, GMP_NUMB_BITS - 1) == 0); in test_sqrt1n()
793 MPFR_ASSERTN(mpfr_cmp_ui_2exp (r, 1, mpfr_get_emin () - 1) == 0); in check_underflow()
[all …]
Dtsubnormal.c174 MPFR_ASSERTN (tern < 0 && mpfr_cmp_ui_2exp (z, 3, -3) == 0); in check3()
182 MPFR_ASSERTN (tern > 0 && mpfr_cmp_ui_2exp (z, 1, -1) == 0); in check3()
189 MPFR_ASSERTN (tern > 0 && mpfr_cmp_ui_2exp (z, 3, -3) == 0); in check3()
191 MPFR_ASSERTN (tern < 0 && mpfr_cmp_ui_2exp (z, 1, -2) == 0); in check3()
196 MPFR_ASSERTN (tern > 0 && mpfr_cmp_ui_2exp (z, 1, -1) == 0); in check3()
265 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 65537, mpfr_get_emin () - 1) == 0); in coverage()
Dtsqr.c141 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0); in test_underflow()
149 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0); in test_underflow()
287 if (mpfr_cmp_ui_2exp (c, 1, mpfr_get_emin ()) > 0) in coverage()
290 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
303 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
329 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
331 if (mpfr_cmp_ui_2exp (c, 1, mpfr_get_emin () + 1) < 0) in coverage()
Dtfrexp.c78 if (mpfr_cmp_ui_2exp (y, 17, -5) != 0 || inex != 0 || exp != 5) in check_special()
97 if (mpfr_cmp_ui_2exp (y, 16, -5) != 0 || inex >= 0 || exp != 5) in check_special()
105 if (mpfr_cmp_ui_2exp (y, 16, -5) != 0 || inex >= 0 || exp != 5) in check_special()
113 if (mpfr_cmp_ui_2exp (y, 16, -5) != 0 || inex >= 0 || exp != 5) in check_special()
121 if (mpfr_cmp_ui_2exp (y, 18, -5) != 0 || inex <= 0 || exp != 5) in check_special()
Dtgamma_inc.c212 if (mpfr_cmp_ui_2exp (a, 1, -2)) in specials()
226 if (mpfr_cmp_ui_2exp (a, 1, -3)) in specials()
240 if (mpfr_cmp_ui_2exp (a, 1, -3)) in specials()
254 if (mpfr_cmp_ui_2exp (a, 3, -5)) in specials()
268 if (mpfr_cmp_ui_2exp (a, 1, -8)) in specials()
346 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -10) == 0); in coverage()
359 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 14, -89) == 0); in coverage()
Dtremquo.c260 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 1, -94) == 0); in main()
263 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 1, -94) == 0); in main()
272 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 1, -44) == 0); in main()
275 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 1, -44) == 0); in main()
328 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 605, -11) == 0); in main()
332 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 605, -11) == 0); in main()
356 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 1, -63) == 0); in main()
362 MPFR_ASSERTN (mpfr_cmp_ui_2exp (r, 1, -63) == 0); in main()
Dtsinh.c58 MPFR_ASSERTN(mpfr_cmp_ui_2exp (x, 1, -6) == 0); in special()
112 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 18446744073709551615UL, 4611686018427387839UL) == 0); in coverage()
122 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 11795642775994293059UL, 4611686018427387839UL) == 0); in coverage()
Dtset_f.c87 MPFR_ASSERTN(mpfr_cmp_ui_2exp (x, 1, 901) == 0); in main()
112 if (mpfr_cmp_ui_2exp (u, 1, -pr - 1) > 0) in main()
153 MPFR_ASSERTN(inexact == 0 && mpfr_cmp_ui_2exp (x, 1, r) == 0); in main()
Dtmul.c826 MPFR_ASSERTN(mpfr_cmp_ui_2exp (z, 1, -2) == 0); in bug20161209()
837 MPFR_ASSERTN(mpfr_cmp_ui_2exp (z, 1, -2) == 0); in bug20161209()
846 MPFR_ASSERTN(mpfr_cmp_ui_2exp (z, 1, -2) == 0); in bug20161209()
855 MPFR_ASSERTN(mpfr_cmp_ui_2exp (z, 1, -2) == 0); in bug20161209()
1086 MPFR_ASSERTN(mpfr_cmp_ui_2exp (z, 1, -1) == 0); in test_underflow2()
1097 MPFR_ASSERTN(mpfr_cmp_ui_2exp (z, 1, -1) == 0); in test_underflow2()
1141 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
1169 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
1174 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
1196 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, mpfr_get_emin () - 1) == 0); in coverage()
[all …]
Dtatan2u.c166 if (mpfr_cmp_ui_2exp (z, 1, -1) != 0) in check_ieee754()
175 if (mpfr_cmp_ui_2exp (z, 1, -1) != 0) in check_ieee754()
238 if (mpfr_cmp_ui_2exp (z, 1, -1) != 0) in check_ieee754()
262 if (mpfr_cmp_ui_2exp (z, 3, -2) != 0) in check_ieee754()
283 if (mpfr_cmp_ui_2exp (z, 1, -2) != 0) in check_ieee754()
Dtatanu.c46 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, mpfr_get_emin_min () - 1) == 0); in check_underflow()
78 if (mpfr_cmp_ui_2exp (y, 1, -2) != 0) in main()
Dtexp2.c320 if (mpfr_cmp_ui_2exp (y, 1, -4) != 0) in main()
326 if (mpfr_cmp_ui_2exp (y, 1, -4) != 0) in main()
332 if (mpfr_cmp_ui_2exp (y, 1, -4) != 0) in main()
Dtcosu.c138 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0 && inexact == 0); in test_exact()
153 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0 && inexact == 0); in test_exact()
Dtsinu.c138 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0 && inexact == 0); in test_exact()
143 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0 && inexact == 0); in test_exact()
Dtsin_cos.c288 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 11, -6) == 0); in test20071214()
289 MPFR_ASSERTN(mpfr_cmp_ui_2exp (b, 15, -4) == 0); in test20071214()
294 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 3, -4) == 0); in test20071214()
300 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 3, -4) == 0); in test20071214()
Dtsub1sp.c67 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, GMP_NUMB_BITS) == 0); in test20170208()
70 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, GMP_NUMB_BITS) == 0); in test20170208()
99 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, 2 * GMP_NUMB_BITS) == 0); in test20170208()
102 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, 2 * GMP_NUMB_BITS) == 0); in test20170208()
133 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, 3 * GMP_NUMB_BITS) == 0); in test20170208()
136 MPFR_ASSERTN(mpfr_cmp_ui_2exp (a, 1, 3 * GMP_NUMB_BITS) == 0); in test20170208()
Dtui_pow.c197 if (mpfr_cmp_ui_2exp (y, 1, -1)) in test2()
210 if (mpfr_cmp_ui_2exp (y, 1, 14)) in test2()
Dtexp.c370 if (mpfr_cmp_ui_2exp (y, 3, -2)) in check_special()
378 if (mpfr_cmp_ui_2exp (y, 3, -2)) in check_special()
393 if (mpfr_cmp_ui_2exp (y, 3, -1)) in check_special()
989 MPFR_ASSERTN(mpfr_cmp_ui_2exp (y, 1, -1) == 0); in bug20171223()
Dtset_exp.c79 MPFR_ASSERTN (ret == 0 && mpfr_cmp_ui_2exp (x, 1, -2) == 0); in main()
/netbsd/src/external/lgpl3/mpc/dist/tests/
Dtnorm.c44 if (mpfr_cmp_ui_2exp (f, 511, -10) != 0) in test_underflow()
62 if (mpfr_cmp_ui_2exp (f, 511, -10) != 0) in test_underflow()
80 if (mpfr_cmp_ui_2exp (f, 1023, -11) != 0) in test_underflow()
Dtpow_fr.c38 mpfr_cmp_ui_2exp (mpc_realref(z), 1, -2048) != 0 || in test_reuse()
Dtui_div.c73 if (mpfr_cmp_ui_2exp (mpc_realref(b), 1, -2) != 0 || in test_special()
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dcmp_ui.c34 mpfr_cmp_ui_2exp (mpfr_srcptr b, unsigned long int i, mpfr_exp_t f) in mpfr_cmp_ui_2exp() function
117 return mpfr_cmp_ui_2exp (b, i, 0); in mpfr_cmp_ui()
Dbeta.c309 if (mpfr_cmp_ui_2exp (w, 1, expw - 1) == 0) in mpfr_beta()
324 mpfr_cmp_ui_2exp (z, 1, MPFR_EXP(z) - 1) == 0) in mpfr_beta()
Dlog2.c90 if (MPFR_UNLIKELY (mpfr_cmp_ui_2exp (a, 1, MPFR_GET_EXP (a) - 1) == 0)) in mpfr_log2()

123