Searched refs:inex (Results 1 - 25 of 118) sorted by relevance

12345

/haiku-buildtools/gcc/mpc/src/
H A Dset_str.c28 int inex; local
30 inex = mpc_strtoc (z, str, &p, base, rnd);
32 if (inex != -1){
36 return inex;
H A Dui_div.c27 int inex; local
32 inex = mpc_div (a, bb, c, rnd);
35 return inex;
H A Dacosh.c34 int inex; local
48 inex = mpc_acos (a, op,
56 inex = MPC_INEX (MPC_INEX_IM (inex), -MPC_INEX_RE (inex));
60 inex = mpc_acos (a, op,
68 inex = MPC_INEX (-MPC_INEX_IM (inex), MPC_INEX_RE (inex));
75 return inex;
[all...]
H A Dpow_d.c29 int inex; local
34 inex = mpc_pow (z, x, yy, rnd);
36 return inex;
H A Dpow_fr.c27 int inex; local
33 inex = mpc_pow (z, x, yy, rnd);
35 return inex;
H A Dpow_ld.c29 int inex; local
34 inex = mpc_pow (z, x, yy, rnd);
36 return inex;
H A Dsinh.c29 int inex; local
39 inex = mpc_sin (sin_z, z, MPC_RND (MPC_RND_IM (rnd), MPC_RND_RE (rnd)));
46 return MPC_INEX (MPC_INEX_IM (inex), MPC_INEX_RE (inex));
H A Dtanh.c29 int inex; local
39 inex = mpc_tan (tan_z, z, MPC_RND (MPC_RND_IM (rnd), MPC_RND_RE (rnd)));
46 return MPC_INEX (MPC_INEX_IM (inex), MPC_INEX_RE (inex));
H A Dpow_z.c27 int inex; local
43 inex = mpc_pow (z, x, yy, rnd);
45 return inex;
H A Dasinh.c27 int inex; local
39 inex = mpc_asin (a, z,
54 return MPC_INEX (MPC_INEX_IM (inex), -MPC_INEX_RE (inex));
H A Datanh.c27 int inex; local
38 inex = mpc_atan (a, z,
51 return MPC_INEX (MPC_INEX_IM (inex), -MPC_INEX_RE (inex));
/haiku-buildtools/gcc/mpfr/tests/
H A Dtlog2.c36 int inex; local
41 inex = mpfr_log2 (x, x, MPFR_RNDN);
42 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
45 inex = mpfr_log2 (x, x, MPFR_RNDN);
46 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
49 inex = mpfr_log2 (x, x, MPFR_RNDN);
50 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0);
53 inex = mpfr_log2 (x, x, MPFR_RNDN);
54 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) < 0 && inex == 0);
57 inex
[all...]
H A Dtfrexp.c30 int inex; local
37 inex = mpfr_frexp (&exp, y, x, MPFR_RNDN);
38 if (mpfr_nan_p (y) == 0 || inex != 0)
45 inex = mpfr_frexp (&exp, y, x, MPFR_RNDN);
46 if (mpfr_inf_p (y) == 0 || mpfr_sgn (y) <= 0 || inex != 0)
53 inex = mpfr_frexp (&exp, y, x, MPFR_RNDN);
54 if (mpfr_inf_p (y) == 0 || mpfr_sgn (y) >= 0 || inex != 0)
61 inex = mpfr_frexp (&exp, y, x, MPFR_RNDN);
62 if (mpfr_zero_p (y) == 0 || mpfr_signbit (y) != 0 || inex != 0 || exp != 0)
69 inex
[all...]
H A Dtlog10.c60 int inex; local
71 inex = test_log10 (y, x, MPFR_RNDN);
72 MPFR_ASSERTN (mpfr_nan_p (y) && inex == 0);
76 inex = test_log10 (y, x, MPFR_RNDN);
77 MPFR_ASSERTN (mpfr_nan_p (y) && inex == 0);
80 inex = test_log10 (y, x, MPFR_RNDN);
81 MPFR_ASSERTN (mpfr_inf_p (y) && mpfr_sgn (y) > 0 && inex == 0);
84 inex = test_log10 (x, x, MPFR_RNDN);
85 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) < 0 && inex == 0);
88 inex
[all...]
H A Dtset_sj.c110 int inex; local
114 inex = mpfr_set_uj_2exp (x, 1, 0, MPFR_RNDN);
115 if (inex || mpfr_cmp_ui(x, 1))
118 inex = mpfr_set_uj_2exp (x, 1024, -10, MPFR_RNDN);
119 if (inex || mpfr_cmp_ui(x, 1))
122 inex = mpfr_set_uj_2exp (x, 1024, 10, MPFR_RNDN);
123 if (inex || mpfr_cmp_ui(x, 1024L * 1024L))
126 inex = mpfr_set_uj_2exp (x, MPFR_UINTMAX_MAX, 1000, MPFR_RNDN);
127 inex |= mpfr_div_2ui (x, x, 1000, MPFR_RNDN);
128 inex |
148 int inex; local
169 int inex; local
[all...]
H A Dtlog1p.c59 int inex; local
65 inex = test_log1p (x, x, MPFR_RNDN);
66 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
71 inex = test_log1p (x, x, MPFR_RNDN);
72 MPFR_ASSERTN (mpfr_nan_p (x) && inex == 0);
77 inex = test_log1p (x, x, MPFR_RNDN);
78 MPFR_ASSERTN (mpfr_inf_p (x) && mpfr_sgn (x) > 0 && inex == 0);
83 inex = test_log1p (x, x, MPFR_RNDN);
84 MPFR_ASSERTN (mpfr_cmp_ui (x, 0) == 0 && MPFR_IS_POS (x) && inex == 0);
88 inex
[all...]
H A Dtget_f.c59 int inex; local
63 inex = mpfr_add (y1, y1, y2, MPFR_RNDN);
64 MPFR_ASSERTN (inex == 0);
68 inex = mpfr_get_f (x3, y3, MPFR_RNDN);
80 if (inex != 0)
85 inex);
104 int inex; local
122 inex = mpfr_get_f (x, y, MPFR_RNDN);
123 if (inex >= 0)
137 inex
174 int inex, expected_inex; local
274 int inex; local
[all...]
/haiku-buildtools/gcc/mpc/tests/
H A Dtnorm.c29 int inex; local
37 inex = mpc_norm (f, z, GMP_RNDZ); /* should give 511/1024 */
38 if (inex >= 0)
41 printf ("expected inex < 0, got %d\n", inex);
55 inex = mpc_norm (f, z, GMP_RNDN); /* should give 511/1024 */
56 if (inex >= 0)
59 printf ("expected inex < 0, got %d\n", inex);
73 inex
[all...]
H A Dtpow_fr.c28 int inex; local
36 inex = mpc_pow_fr (z, z, y, MPC_RNDNN);
37 if (MPC_INEX_RE(inex) != 0 || MPC_INEX_IM(inex) != 0 ||
42 printf ("inex=(%d %d)\n", MPC_INEX_RE(inex), MPC_INEX_IM(inex));
/haiku-buildtools/gcc/mpfr/src/
H A Dset_sj.c45 int inex; local
46 inex = mpfr_set_uj_2exp (x, - (uintmax_t) j, e, MPFR_INVERT_RND (rnd));
48 return -inex;
H A Dget_z.c29 int inex; local
49 inex = mpfr_rint (r, f, rnd);
50 MPFR_ASSERTN (inex != 1 && inex != -1); /* integral part of f is
60 return inex;
H A Dfrexp.c28 int inex; local
52 inex = mpfr_set (y, x, rnd);
55 return mpfr_check_range (y, inex, rnd);
H A Dsqrt_ui.c34 int inex; local
44 inex = mpfr_sqrt(r, uu, rnd_mode);
46 return mpfr_check_range(r, inex, rnd_mode);
H A Dsub_ui.c35 int inex; local
43 mpfr_get_prec(y), mpfr_log_prec, y, inex));
54 inex = mpfr_sub (y, x, uu, rnd_mode);
56 return mpfr_check_range (y, inex, rnd_mode);
H A Dadd_ui.c39 int inex; local
51 inex = mpfr_add(y, x, uu, rnd_mode);
53 return mpfr_check_range(y, inex, rnd_mode);

Completed in 114 milliseconds

12345