/haiku-buildtools/gcc/mpc/src/ |
H A D | set_str.c | 28 int inex; local 30 inex = mpc_strtoc (z, str, &p, base, rnd); 32 if (inex != -1){ 36 return inex;
|
H A D | ui_div.c | 27 int inex; local 32 inex = mpc_div (a, bb, c, rnd); 35 return inex;
|
H A D | acosh.c | 34 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 D | pow_d.c | 29 int inex; local 34 inex = mpc_pow (z, x, yy, rnd); 36 return inex;
|
H A D | pow_fr.c | 27 int inex; local 33 inex = mpc_pow (z, x, yy, rnd); 35 return inex;
|
H A D | pow_ld.c | 29 int inex; local 34 inex = mpc_pow (z, x, yy, rnd); 36 return inex;
|
H A D | sinh.c | 29 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 D | tanh.c | 29 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 D | pow_z.c | 27 int inex; local 43 inex = mpc_pow (z, x, yy, rnd); 45 return inex;
|
H A D | asinh.c | 27 int inex; local 39 inex = mpc_asin (a, z, 54 return MPC_INEX (MPC_INEX_IM (inex), -MPC_INEX_RE (inex));
|
H A D | atanh.c | 27 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 D | tlog2.c | 36 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 D | tfrexp.c | 30 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 D | tlog10.c | 60 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 D | tset_sj.c | 110 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 D | tlog1p.c | 59 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 D | tget_f.c | 59 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 D | tnorm.c | 29 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 D | tpow_fr.c | 28 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 D | set_sj.c | 45 int inex; local 46 inex = mpfr_set_uj_2exp (x, - (uintmax_t) j, e, MPFR_INVERT_RND (rnd)); 48 return -inex;
|
H A D | get_z.c | 29 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 D | frexp.c | 28 int inex; local 52 inex = mpfr_set (y, x, rnd); 55 return mpfr_check_range (y, inex, rnd);
|
H A D | sqrt_ui.c | 34 int inex; local 44 inex = mpfr_sqrt(r, uu, rnd_mode); 46 return mpfr_check_range(r, inex, rnd_mode);
|
H A D | sub_ui.c | 35 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 D | add_ui.c | 39 int inex; local 51 inex = mpfr_add(y, x, uu, rnd_mode); 53 return mpfr_check_range(y, inex, rnd_mode);
|